Compare commits

..

4 Commits

5 changed files with 13 additions and 5 deletions

View File

@ -94,7 +94,9 @@
;; Handy mode for prose writing and reading
(use-package olivetti
:general
("C-c o" #'olivetti-mode))
("C-c o" #'olivetti-mode)
:custom
(olivetti-body-width 0.5))
;; Multiple cursors
(use-package evil-multiedit

View File

@ -49,9 +49,12 @@
"gc" #'git-link-commit
"gb" #'git-link-browse-commit))
;; forge requires sqlite
(use-package sqlite3)
;; Interact with GitHub etc. from Magit
(use-package forge
:after magit
:after (magit sqlite3)
:demand t
:config
(setq forge-add-default-bindings nil)

View File

@ -185,7 +185,9 @@
(js-web-mode . eglot-ensure)
(html-web-mode . eglot-ensure)
(scala-mode . eglot-ensure)
(c-mode . eglot-ensure))
(c-mode . eglot-ensure)
:custom
(eglot-confirm-server-initiated-edits nil))
;; Some compilation-mode conveniences
(use-package compile

View File

@ -7,7 +7,7 @@
:init
(leader-def-key "o" '(nil :which-key "org"))
:config
(add-hook 'org-mode-hook #'auto-fill-mode)
(add-hook 'org-mode-hook #'olivetti-mode)
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
(defun org-find-daily-note ()
(interactive)
@ -34,7 +34,7 @@
"CANCELLED(c)")))
(org-capture-templates `(("d" "Daily note" plain
(function org-find-daily-note)
"* %<%I:%M %p>")
"** %<%I:%M %p>")
("s" "Spotify task" entry
(file+headline ,(expand-file-name "~/org/todo.org") "Spotify")
"* TODO %i%?")

View File

@ -40,6 +40,7 @@ brew "ruby"
brew "sbt"
brew "scala"
brew "stow"
brew "sqlite"
brew "texinfo"
brew "typescript-language-server"
brew "vscode-langservers-extracted"