Corfu: disable preview, tweak keybinds a bit to restore tab select

This commit is contained in:
Evie Litherland-Smith 2024-01-08 22:03:29 +00:00
parent 723bafc702
commit 57a0469932

View file

@ -882,16 +882,14 @@ Set treesit to fontify all elements, default was 3 (out of 4)
(corfu-auto-prefix 3) (corfu-auto-prefix 3)
(corfu-quit-no-match 'separator) (corfu-quit-no-match 'separator)
(corfu-quit-at-boundary 'separator) (corfu-quit-at-boundary 'separator)
(corfu-preview-current 'insert) (corfu-preview-current nil)
(corfu-preselect 'directory) (corfu-preselect 'directory)
:bind ( :map corfu-map :bind ( :map corfu-map
("M-SPC" . corfu-insert-separator) ("M-SPC" . corfu-insert-separator)
("RET" . nil) ("RET" . nil)
("TAB" . corfu-next) ("S-RET". corfu-insert)
([tab] . corfu-next) ("TAB" . corfu-insert)
("S-TAB" . corfu-previous) ([tab] . corfu-insert))
([backtab] . corfu-previous)
("S-<return>". corfu-insert))
:init :init
(global-corfu-mode +1) (global-corfu-mode +1)
(corfu-history-mode +1) (corfu-history-mode +1)