Config hotkey cleanup; Add lsp lookup keys

This commit is contained in:
Leni Ven 2023-02-01 01:15:03 -08:00
parent ac09fc699f
commit 78d2a552ea
2 changed files with 18 additions and 15 deletions

View File

@ -8,6 +8,7 @@
(setq user-full-name "Leni Ven"
user-mail-address "leniv@stanford.edu")
;; Key bindings
(setq doom-localleader-key ",") ; Spacemacs like comma major mode
(map! :leader ; "SPC b 0" kills window and buffer
@ -22,13 +23,13 @@
(map! :leader ; "SPC :" becomes M-:
:desc "Evaluate expression (emacs M-:)"
":" #'eval-expression)
(map! :localleader
(:map git-commit-mode-map
"c" #'with-editor-finish)
(:map git-commit-mode-map
"q" #'with-editor-cancel))
(after! magit
(map! :localleader
(:map git-commit-mode-map
"c" #'with-editor-finish)
(:map git-commit-mode-map
"q" #'with-editor-cancel)
))
(setq
;; Doom exposes five (optional) variables for controlling fonts in Doom:
@ -156,6 +157,7 @@
;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/org/")
(after! format
'(not
emacs-lisp-mode
@ -166,6 +168,7 @@
(after! spell
(setq ispell-dictionary "english"))
(use-package! lilypond-mode
:init
(add-to-list 'auto-mode-alist '("\\.ly\\'" . LilyPond-mode))

View File

@ -92,21 +92,21 @@
docker
editorconfig ; let someone else argue about tabs vs spaces
ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
(lsp +peek) ; M-x vscode
magit ; a git porcelain for Emacs
make ; run make tasks from Emacs
;;pass ; password manager for nerds
;;pass ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;prodigy ; FIXME managing external services & code builders
rgb ; creating color strings
taskrunner ; taskrunner for all your projects
;;terraform ; infrastructure as code
;;terraform ; infrastructure as code
tmux ; an API for interacting with tmux
tree-sitter ; syntax and parsing, sitting in a tree...
;;upload ; map local to remote projects via ssh/ftp
;;upload ; map local to remote projects via ssh/ftp
:os
(:if IS-MAC macos) ; improve compatibility with macOS