From 4cdbd9d19ad7620781a61b6c07f28c0e98719247 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 23 Nov 2016 09:49:33 +0100 Subject: [PATCH] Remove TAB binding of yas-expand It caused me more trouble than not. I will find a better binding for it later. --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index fac457d..e4a4d50 100644 --- a/init.el +++ b/init.el @@ -638,8 +638,14 @@ (use-package yasnippet :ensure t + :demand :config - (yas-global-mode 1)) + (yas-global-mode 1) + :bind + ;; Remove TAB binding to yas-expand. It causes more harm than good. + (:map yas-minor-mode-map + ("TAB" . nil) + ([(tab)] . nil))) (use-package vala-snippets :ensure t