Skip to content

Commit

Permalink
tweak(corfu): use TAB and S-TAB for next/previous
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 1, 2023
1 parent 333ad2e commit cb3f35d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/me-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ This depends on `+cape-hosts' and `+cape-global-capes'."
(corfu-min-width 25)
(corfu-auto-delay 0.2)
:config
(with-eval-after-load 'evil
(keymap-set corfu-map "C-j" 'corfu-next)
(keymap-set corfu-map "C-k" 'corfu-previous))
(keymap-set corfu-map "C-j" 'corfu-next)
(keymap-set corfu-map "<tab>" 'corfu-next)
(keymap-set corfu-map "C-k" 'corfu-previous)
(keymap-set corfu-map "<backtab>" 'corfu-previous)
(keymap-set corfu-map "M-m" '+corfu-complete-in-minibuffer)

(defun +corfu-enable-in-minibuffer-h ()
"Enable Corfu in the minibuffer if `completion-at-point' is bound."
Expand Down

0 comments on commit cb3f35d

Please sign in to comment.