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-quit-no-match 'separator)
(corfu-quit-at-boundary 'separator)
(corfu-preview-current 'insert)
(corfu-preview-current nil)
(corfu-preselect 'directory)
:bind ( :map corfu-map
("M-SPC" . corfu-insert-separator)
("RET" . nil)
("TAB" . corfu-next)
([tab] . corfu-next)
("S-TAB" . corfu-previous)
([backtab] . corfu-previous)
("S-<return>". corfu-insert))
("S-RET". corfu-insert)
("TAB" . corfu-insert)
([tab] . corfu-insert))
:init
(global-corfu-mode +1)
(corfu-history-mode +1)