Add more consult keybindings
This commit is contained in:
parent
0124fa4071
commit
ba6c7cb66f
@ -160,10 +160,10 @@ targets."
|
||||
([remap projectile-grep] #'consult-grep)
|
||||
("C-c p" #'consult-yank-from-kill-ring))
|
||||
|
||||
(use-package consult-flycheck
|
||||
:after flycheck
|
||||
(use-package consult-eglot
|
||||
:after (consult eglot)
|
||||
:general
|
||||
(flycheck-command-map "!" #'consult-flycheck))
|
||||
(eglot-prefix-map "s" #'consult-eglot-symbols))
|
||||
|
||||
(use-package embark-consult
|
||||
:general
|
||||
|
@ -53,7 +53,8 @@
|
||||
(general-def flymake-map
|
||||
"n" #'flymake-goto-next-error
|
||||
"p" #'flymake-goto-prev-error
|
||||
"l" #'flymake-show-diagnostics-buffer
|
||||
"b" #'flymake-show-diagnostics-buffer
|
||||
"l" #'consult-flymake
|
||||
"a" #'flymake-show-project-diagnostics)
|
||||
(leader-def-key "e" flymake-map)
|
||||
:hook (prog-mode . flymake-mode))
|
||||
@ -201,9 +202,9 @@
|
||||
"Prefix keymap for eglot commands.")
|
||||
(general-def eglot-prefix-map
|
||||
"a" #'eglot-code-actions
|
||||
"r" #'eglot-reconnect
|
||||
"s" #'eglot-shutdown
|
||||
"R" #'eglot-rename
|
||||
"R" #'eglot-reconnect
|
||||
"S" #'eglot-shutdown
|
||||
"r" #'eglot-rename
|
||||
"f" #'eglot-format-buffer
|
||||
"i" #'eglot-code-action-organize-imports
|
||||
"h" #'eldoc
|
||||
|
Loading…
Reference in New Issue
Block a user