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 ;; Handy mode for prose writing and reading
(use-package olivetti (use-package olivetti
:general :general
("C-c o" #'olivetti-mode)) ("C-c o" #'olivetti-mode)
:custom
(olivetti-body-width 0.5))
;; Multiple cursors ;; Multiple cursors
(use-package evil-multiedit (use-package evil-multiedit

View File

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

View File

@ -185,7 +185,9 @@
(js-web-mode . eglot-ensure) (js-web-mode . eglot-ensure)
(html-web-mode . eglot-ensure) (html-web-mode . eglot-ensure)
(scala-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 ;; Some compilation-mode conveniences
(use-package compile (use-package compile

View File

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

View File

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