refactor(selectrum): Move evil bindings where they belong

This commit is contained in:
Edmund Miller 2021-02-16 20:16:29 -06:00 committed by Itai Y. Efrat
parent d760474e1d
commit b4e1b2130c
3 changed files with 26 additions and 24 deletions

View file

@ -200,7 +200,30 @@
(: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)))
[C-return] #'helm-grep-run-other-window-action))
(:when (featurep! :completion selectrum)
(:after selectrum
"C-s-r" #'selectrum-repeat
:map selectrum-minibuffer-map
"M-RET" #'selectrum-submit-exact-input
"C-j" #'selectrum-next-candidate
"C-S-j" #'selectrum-next-page
"C-s-j" #'selectrum-goto-end
"C-k" #'selectrum-previous-candidate
"C-S-k" #'selectrum-previous-page
"C-s-k" #'selectrum-goto-beginning)
(:after embark
"C-o" #'embark-act
:map minibuffer-local-completion-map
"C-c C-o" #'embark-export
"C-c C-c" #'embark-act-noexit
:map embark-file-map
:desc "Open Dired on target" "j" #'ffap-dired
:desc "Open target with sudo" "s" #'sudo-edit
:desc "Open target with vlf" "l" #'vlf
:map embark-file-map
:desc "Cycle marginalia views" "A" #'marginalia-cycle)))
;;; :ui
(map! (:when (featurep! :ui popup)