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.
This commit is contained in:
Henrik Lissner 2020-03-31 02:04:24 -04:00
parent f84ff0214a
commit b8a3cad295
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -39,19 +39,11 @@
(and (featurep! :completion company +tng) (and (featurep! :completion company +tng)
(+company-has-completion-p)) (+company-has-completion-p))
#'+company/complete) #'+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 :v [tab] (general-predicate-dispatch nil
(and (bound-and-true-p yas-minor-mode) (and (bound-and-true-p yas-minor-mode)
(or (eq evil-visual-selection 'line) (or (eq evil-visual-selection 'line)
(not (memq (char-after) (list ?\( ?\[ ?\{ ?\} ?\] ?\)))))) (not (memq (char-after) (list ?\( ?\[ ?\{ ?\} ?\] ?\))))))
#'yas-insert-snippet #'yas-insert-snippet)
(fboundp 'evil-jump-item)
#'evil-jump-item)
;; Smarter newlines ;; Smarter newlines
:i [remap newline] #'newline-and-indent ; auto-indent on newline :i [remap newline] #'newline-and-indent ; auto-indent on newline