refactor(vertico): take evil keybinds from :config default
This commit is contained in:
parent
bab4c921c8
commit
4e105a95af
2 changed files with 7 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue