From b8a3cad295dcbed1e9952db240b7ce05e94dd7ae Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 31 Mar 2020 02:04:24 -0400 Subject: [PATCH] Fix #2798: remove overzealous TAB keybind Evidently, most users do not understand/like how these dispatchers work and file a bug report about it. It's too much hassle to support so I'll move this to my private config. --- modules/config/default/+evil-bindings.el | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 913239a52..a56ee0b2b 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -39,19 +39,11 @@ (and (featurep! :completion company +tng) (+company-has-completion-p)) #'+company/complete) - :n [tab] (general-predicate-dispatch nil - (and (featurep! :editor fold) - (save-excursion (end-of-line) (invisible-p (point)))) - #'+fold/toggle - (fboundp 'evil-jump-item) - #'evil-jump-item) :v [tab] (general-predicate-dispatch nil (and (bound-and-true-p yas-minor-mode) (or (eq evil-visual-selection 'line) (not (memq (char-after) (list ?\( ?\[ ?\{ ?\} ?\] ?\)))))) - #'yas-insert-snippet - (fboundp 'evil-jump-item) - #'evil-jump-item) + #'yas-insert-snippet) ;; Smarter newlines :i [remap newline] #'newline-and-indent ; auto-indent on newline