Don't overwrite C-i in GUI Emacs

This commit is contained in:
Henrik Lissner 2019-03-09 02:38:44 -05:00
parent 9758aae389
commit d5ba685817
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@
[remap find-tag] #'projectile-find-tag
;; Smart tab
:i "TAB" (general-predicate-dispatch nil ; fall back to nearest keymap
:i [tab] (general-predicate-dispatch nil ; fall back to nearest keymap
(and (featurep! :feature snippets)
(bound-and-true-p yas-minor-mode)
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
@ -29,13 +29,13 @@
(and (featurep! :completion company +tng)
(+company-has-completion-p))
'+company/complete)
:n "TAB" (general-predicate-dispatch nil
:n [tab] (general-predicate-dispatch nil
(and (featurep! :editor fold)
(save-excursion (end-of-line) (invisible-p (point))))
'+fold/toggle
(fboundp 'evilmi-jump-items)
'evilmi-jump-items)
:v "TAB" (general-predicate-dispatch nil
:v [tab] (general-predicate-dispatch nil
(and (bound-and-true-p yas-minor-mode)
(or (eq evil-visual-selection 'line)
(and (fboundp 'evilmi-jump-items)

View file

@ -83,7 +83,7 @@ It is passed a user and repository name.")
"zz" #'evil-scroll-line-to-center
"%" #'magit-gitflow-popup)
;; Don't use ESC to close magit
(evil-define-key* 'normal magit-status-mode-map (kbd "TAB") #'magit-section-toggle)
(evil-define-key* 'normal magit-status-mode-map [tab] #'magit-section-toggle)
(after! git-rebase
(dolist (key '(("M-k" . "gk") ("M-j" . "gj")))
(when-let* ((desc (assoc (car key) evil-magit-rebase-commands-w-descriptions)))