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"
|
(setq user-full-name "Leni Ven"
|
||||||
user-mail-address "leniv@stanford.edu")
|
user-mail-address "leniv@stanford.edu")
|
||||||
|
|
||||||
|
|
||||||
;; Key bindings
|
;; Key bindings
|
||||||
(setq doom-localleader-key ",") ; Spacemacs like comma major mode
|
(setq doom-localleader-key ",") ; Spacemacs like comma major mode
|
||||||
(map! :leader ; "SPC b 0" kills window and buffer
|
(map! :leader ; "SPC b 0" kills window and buffer
|
||||||
|
@ -22,13 +23,13 @@
|
||||||
(map! :leader ; "SPC :" becomes M-:
|
(map! :leader ; "SPC :" becomes M-:
|
||||||
:desc "Evaluate expression (emacs M-:)"
|
:desc "Evaluate expression (emacs M-:)"
|
||||||
":" #'eval-expression)
|
":" #'eval-expression)
|
||||||
|
(after! magit
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
(:map git-commit-mode-map
|
(:map git-commit-mode-map
|
||||||
"c" #'with-editor-finish)
|
"c" #'with-editor-finish)
|
||||||
(:map git-commit-mode-map
|
(:map git-commit-mode-map
|
||||||
"q" #'with-editor-cancel))
|
"q" #'with-editor-cancel)
|
||||||
|
))
|
||||||
|
|
||||||
(setq
|
(setq
|
||||||
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
||||||
|
@ -156,6 +157,7 @@
|
||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
|
|
||||||
(after! format
|
(after! format
|
||||||
'(not
|
'(not
|
||||||
emacs-lisp-mode
|
emacs-lisp-mode
|
||||||
|
@ -166,6 +168,7 @@
|
||||||
(after! spell
|
(after! spell
|
||||||
(setq ispell-dictionary "english"))
|
(setq ispell-dictionary "english"))
|
||||||
|
|
||||||
|
|
||||||
(use-package! lilypond-mode
|
(use-package! lilypond-mode
|
||||||
:init
|
:init
|
||||||
(add-to-list 'auto-mode-alist '("\\.ly\\'" . LilyPond-mode))
|
(add-to-list 'auto-mode-alist '("\\.ly\\'" . LilyPond-mode))
|
||||||
|
|
|
@ -92,21 +92,21 @@
|
||||||
docker
|
docker
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
ein ; tame Jupyter notebooks with emacs
|
ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
lsp ; M-x vscode
|
(lsp +peek) ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
;;prodigy ; FIXME managing external services & code builders
|
;;prodigy ; FIXME managing external services & code builders
|
||||||
rgb ; creating color strings
|
rgb ; creating color strings
|
||||||
taskrunner ; taskrunner for all your projects
|
taskrunner ; taskrunner for all your projects
|
||||||
;;terraform ; infrastructure as code
|
;;terraform ; infrastructure as code
|
||||||
tmux ; an API for interacting with tmux
|
tmux ; an API for interacting with tmux
|
||||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
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
|
:os
|
||||||
(:if IS-MAC macos) ; improve compatibility with macOS
|
(:if IS-MAC macos) ; improve compatibility with macOS
|
||||||
|
|
Loading…
Reference in New Issue