Config hotkey cleanup; Add lsp lookup keys
This commit is contained in:
parent
ac09fc699f
commit
78d2a552ea
|
@ -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)
|
||||
|
||||
(after! magit
|
||||
(map! :localleader
|
||||
(:map git-commit-mode-map
|
||||
"c" #'with-editor-finish)
|
||||
(:map git-commit-mode-map
|
||||
"q" #'with-editor-cancel))
|
||||
|
||||
"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))
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
lsp ; M-x vscode
|
||||
(lsp +peek) ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
|
|
Loading…
Reference in New Issue