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:
parent
f84ff0214a
commit
b8a3cad295
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue