With this fix we're forced to rebind all C-i keybinds plugins bind. This
is too much of a maintenance nightmare. This "fix" doesn't really fix
anything really, so users can reinstate it themselves, if they prefer
it.

Relevant to #3090
This commit is contained in:
Henrik Lissner 2020-05-13 14:41:57 -04:00
parent 5c493541a9
commit f83499c7a7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -30,14 +30,6 @@ and Emacs states, and for non-evil users.")
(setq mac-command-modifier 'super
mac-option-modifier 'meta))
;; HACK Emacs cannot distinguish C-i from TAB, which is disturbing. Instead,
;; let's at least make GUI Emacs aware of this distinction:
(define-key key-translation-map [?\C-i]
(λ! (if (and (not (cl-position 'tab (this-single-command-raw-keys)))
(not (cl-position 'kp-tab (this-single-command-raw-keys)))
(display-graphic-p))
[C-i] [?\C-i])))
;;
;;; Universal, non-nuclear escape