mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor(vertico): take evil keybinds from :config default
This commit is contained in:
@ -37,6 +37,12 @@ overrides `completion-styles' during company completion sessions.")
|
||||
|
||||
(map! :when (modulep! :editor evil +everywhere)
|
||||
:map vertico-map
|
||||
"M-RET" #'vertico-exit-input
|
||||
"C-SPC" #'+vertico/embark-preview
|
||||
"C-j" #'vertico-next
|
||||
"C-M-j" #'vertico-next-group
|
||||
"C-k" #'vertico-previous
|
||||
"C-M-k" #'vertico-previous-group
|
||||
"C-h" (cmds! (eq 'file (vertico--metadata-get 'category)) #'vertico-directory-up)
|
||||
"C-l" (cmds! (eq 'file (vertico--metadata-get 'category)) #'+vertico/enter-or-preview))
|
||||
|
||||
|
@ -206,17 +206,7 @@
|
||||
(:after helm-occur :map helm-occur-map
|
||||
[C-return] #'helm-occur-run-goto-line-ow)
|
||||
(:after helm-grep :map helm-grep-map
|
||||
[C-return] #'helm-grep-run-other-window-action))
|
||||
|
||||
(:when (modulep! :completion vertico)
|
||||
(:after vertico
|
||||
:map vertico-map
|
||||
"M-RET" #'vertico-exit-input
|
||||
"C-SPC" #'+vertico/embark-preview
|
||||
"C-j" #'vertico-next
|
||||
"C-M-j" #'vertico-next-group
|
||||
"C-k" #'vertico-previous
|
||||
"C-M-k" #'vertico-previous-group)))
|
||||
[C-return] #'helm-grep-run-other-window-action)))
|
||||
|
||||
|
||||
;;; :ui
|
||||
|
Reference in New Issue
Block a user