emacs: bind vertico TAB to embark
This commit is contained in:
@@ -1893,6 +1893,8 @@ Neotree is useless with frame mode for now, so I've disabled it.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package vertico
|
||||
:demand t
|
||||
:bind (:map vertico-map
|
||||
("TAB" . embark-act))
|
||||
:config
|
||||
(vertico-mode))
|
||||
|
||||
@@ -1902,9 +1904,7 @@ Neotree is useless with frame mode for now, so I've disabled it.
|
||||
("RET" . vertico-directory-enter)
|
||||
("DEL" . vertico-directory-delete-char)
|
||||
("M-DEL" . vertico-directory-delete-word))
|
||||
:config
|
||||
(with-eval-after-load 'embark
|
||||
(define-key vertico-map (kbd "TAB") #'embark-act)))
|
||||
:config)
|
||||
|
||||
(use-package vertico-grid :ensure nil :after (vertico))
|
||||
(use-package vertico-buffer :ensure nil :after (vertico))
|
||||
|
||||
Reference in New Issue
Block a user