Use M-TAB instead of TAB for yasnippet to avoid accidental expansion

This commit is contained in:
Adam Goldsmith 2024-02-07 23:39:46 -05:00
parent 760e779db5
commit 9e60bde41c

View File

@ -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 ()