mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/snippets: don't hijack TAB in other modes (fix #45)
This commit is contained in:
@ -51,8 +51,8 @@
|
||||
[delete] '+snippets/delete-forward-char-or-field)
|
||||
|
||||
(:map yas-minor-mode-map
|
||||
:i [tab] 'yas-expand
|
||||
:v [tab] '+snippets/expand-on-region))
|
||||
:i "<tab>" yas-maybe-expand
|
||||
:v "<tab>" '+snippets/expand-on-region))
|
||||
|
||||
;; Exit snippets on ESC in normal mode
|
||||
(advice-add 'evil-force-normal-state :before 'yas-exit-all-snippets)
|
||||
|
Reference in New Issue
Block a user