1
0
Fork 0

Fixed: corfu autocompletes on RET instead of TAB

Browse Source
This commit is contained in:
rhjr 2026-07-05 07:59:35 -04:00
parent 73ddaea19e
commit 0056400c01

View File

@ -73,7 +73,10 @@
create-lockfiles nil
make-backup-files nil
auto-save-default nil)
auto-save-default nil
tab-width 2
indent-tabs-mode nil)
;;; rhjr/standard-packages
(use-package dired-x
@ -113,6 +116,7 @@
(set-fringe-mode '(0 . 0))
(pixel-scroll-precision-mode)
(global-display-line-numbers-mode 1)
(delete-selection-mode 1)
;;; rhjr/packages
(use-package magit
@ -127,12 +131,8 @@
(corfu-cycle t)
(corfu-preview-current nil)
:bind
(:map corfu-map
("TAB" . corfu-next)
([tab] . corfu-next)
("S-TAB" . corfu-previous)
([backtab] . corfu-previous))
:config
(keymap-unset corfu-map "RET")
:init
(global-corfu-mode)
@ -143,8 +143,8 @@
("C-x 4 b" . consult-buffer-other-window)
("C-x 5 b" . consult-buffer-other-frame)
;; M-s bindings in `search-map'
("C-f" . consult-find)
("C-s" . consult-ripgrep))
("C-x f" . consult-find)
("C-x s" . consult-ripgrep))
:config
(setq consult-find-args
@ -344,8 +344,7 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(cape consult corfu corfu-candidate-overlay gruber-darker-theme highlight-parentheses magit orderless vertico)))
'(package-selected-packages nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.