Enable yasnippet in shells and REPLs
This commit is contained in:
parent
5b5b2fd41b
commit
93d75f0b2a
2
init.org
2
init.org
|
@ -3296,6 +3296,8 @@ But with =initials=, the desired completion is often buried in the results. That
|
|||
:ensure t
|
||||
:commands (yas-expand-snippet)
|
||||
:hook (prog-mode . yas-minor-mode-on)
|
||||
(comint-mode . yas-minor-mode-on)
|
||||
(slime-repl-mode . yas-minor-mode-on)
|
||||
:bind (:map yas-minor-mode-map
|
||||
("<tab>" . nil) ("TAB" . nil) ;; use TAB only for completion
|
||||
("C-n" . #'yas-expand))
|
||||
|
|
Loading…
Reference in New Issue