Rebind yas-expand

This commit is contained in:
Wojciech Kozlowski 2018-05-11 16:51:14 +01:00
parent 3da023efaa
commit 77c070fc3a

View File

@ -255,7 +255,12 @@
(use-package yasnippet
:init
(yas-global-mode 1))
(yas-global-mode 1)
(define-key yas-minor-mode-map [(tab)] nil)
(define-key yas-minor-mode-map (kbd "TAB") nil)
(define-key yas-minor-mode-map (kbd "<tab>") nil)
(define-key yas-minor-mode-map (kbd "<C-return>") 'yas-expand))
;; --------------------------------------------------------------------------
;; Configure CEDET.