Use M-TAB instead of TAB for yasnippet to avoid accidental expansion
This commit is contained in:
parent
760e779db5
commit
9e60bde41c
@ -831,6 +831,9 @@
|
|||||||
|
|
||||||
(use-package yasnippet
|
(use-package yasnippet
|
||||||
:commands yas-minor-mode
|
:commands yas-minor-mode
|
||||||
|
:bind (:map yas-minor-mode-map
|
||||||
|
("TAB" . nil)
|
||||||
|
("M-TAB" . yas-expand))
|
||||||
:init
|
:init
|
||||||
(add-hook 'LaTeX-mode-hook
|
(add-hook 'LaTeX-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
Loading…
Reference in New Issue
Block a user