add: global bindings for programming modes
This commit is contained in:
parent
a9bfe1ca28
commit
b65486d279
13
init.el
13
init.el
@ -167,7 +167,7 @@
|
|||||||
(autoload 'fzf/start "fzf")
|
(autoload 'fzf/start "fzf")
|
||||||
:bind
|
:bind
|
||||||
(("C-c f" . fzf)
|
(("C-c f" . fzf)
|
||||||
("C-c d" . my-lcd)))
|
("C-c D" . my-lcd)))
|
||||||
|
|
||||||
|
|
||||||
;;; ### Window selection enhancements ###
|
;;; ### Window selection enhancements ###
|
||||||
@ -324,6 +324,17 @@ of the key binding used to execute this command."
|
|||||||
;;; ---------------------
|
;;; ---------------------
|
||||||
|
|
||||||
|
|
||||||
|
;;; ### Global bindings for programming modes ###
|
||||||
|
|
||||||
|
(global-set-key (kbd "C-c d") #'lsp-describe-thing-at-point)
|
||||||
|
(global-set-key (kbd "C-c e n") #'flymake-goto-next-error)
|
||||||
|
(global-set-key (kbd "C-c e p") #'flymake-goto-prev-error)
|
||||||
|
(global-set-key (kbd "C-c e r") #'lsp-find-references)
|
||||||
|
(global-set-key (kbd "C-c e R") #'lsp-rename)
|
||||||
|
(global-set-key (kbd "C-c e i") #'lsp-find-implementation)
|
||||||
|
(global-set-key (kbd "C-c e t") #'lsp-find-type-definition)
|
||||||
|
|
||||||
|
|
||||||
;;; ### C and C++ ###
|
;;; ### C and C++ ###
|
||||||
|
|
||||||
;;; The following Emacs packages [from MELPA](#add-melpa-package-list)
|
;;; The following Emacs packages [from MELPA](#add-melpa-package-list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user