mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2026-11-23 06:38:57 +01:00
fix latex dabbrev completion, enable corfu globally
This commit is contained in:
@@ -272,7 +272,13 @@ a remote file anytime and from everywhere I am by just entering :"
|
||||
;; clever and nice looking and feeling completion package, candidates
|
||||
;; show up in a mini popup, very nice
|
||||
(use-package corfu
|
||||
:hook ((prog-mode . corfu-mode))
|
||||
:init
|
||||
(global-corfu-mode)
|
||||
|
||||
;; :hook ((prog-mode . corfu-mode)
|
||||
;; (plain-tex-mode . corfu-mode)
|
||||
;; (tex-mode . corfu-mode)
|
||||
;; (latex-mode . corfu-mode))
|
||||
|
||||
:custom
|
||||
(corfu-quit-no-match t)
|
||||
@@ -285,7 +291,7 @@ a remote file anytime and from everywhere I am by just entering :"
|
||||
("TAB" . corfu-next)
|
||||
([tab] . corfu-next)
|
||||
("S-TAB" . corfu-previous)
|
||||
([backtab] . corfu-previous)))
|
||||
([backtab] . corfu-next)))
|
||||
|
||||
|
||||
;; much better experience to seach current buffer, consult-line would
|
||||
|
||||
Reference in New Issue
Block a user