selectrum: rework consult previews

- add `C-M-j` and `C-M-k` as preview scrolling keys
- add `consult-theme` to functions that don't get previewed
  automatically (also it works now)
This commit is contained in:
Itai Y. Efrat 2021-05-16 02:54:32 +03:00
parent f372f3aa2c
commit 4e74a221cc
3 changed files with 7 additions and 5 deletions

View file

@ -208,9 +208,11 @@
:map selectrum-minibuffer-map
"M-RET" #'selectrum-submit-exact-input
"C-j" #'selectrum-next-candidate
"C-M-j" #'selectrum-next-candidate ;; with preview, see modules/completion/selectrum/config.el
"C-S-j" #'selectrum-next-page
"C-s-j" #'selectrum-goto-end
"C-k" #'selectrum-previous-candidate
"C-M-k" #'selectrum-previous-candidate ;; with preview, see modules/completion/selectrum/config.el
"C-S-k" #'selectrum-previous-page
"C-s-k" #'selectrum-goto-beginning)))