Change keybind to prevent snippet expansion when completion is desired

This commit is contained in:
contrapunctus 2022-01-20 00:09:15 +05:30
parent 2662ba9489
commit a64cbe5310
1 changed files with 7 additions and 1 deletions

View File

@ -3251,7 +3251,13 @@ But with =initials=, the desired completion is often buried in the results. That
(use-package yasnippet
:ensure t
:commands (yas-expand-snippet)
:hook (prog-mode . yas-global-mode))
:hook (prog-mode . yas-global-mode)
:bind (:map yas-minor-mode-map
("<tab>" . nil)
("TAB" . nil)
("C-n" . #'yas-expand))
(:map yas-keymap
("C-n" . #'yas-next-field-or-maybe-expand)))
#+END_SRC
** vertico