diff options
author | noa@gaiwan.org | 2024-06-16 20:08:35 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-16 20:08:35 +0000 |
commit | 08059ac91315120b755358f3a9e6a937dbbc5244 (patch) | |
tree | 57ff5b4adc494f5b56be81448259d2ef7bdc3e6a /emacs | |
parent | 23df659fb549e2af901af2705c30c69f249dd828 (diff) |
Give up on replacing C-g with escape
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/emacs/init.el b/emacs/init.el index efe2040..71e8aef 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -975,21 +975,6 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." " " (shell-quote-argument url)))) -;;; Escape always quits - -;; Due to emacs's legacy running on terminals, some keys are similar but different. By which i mean, we have ESC and escape, TAB and tab, and RET and return. The capital letters refer to the control sequences terminals represent these keys as: C-[, C-i, and C-m respectively. The lower case words refer to the actual keys. - -;; backspace 127 DEL Ctrl+? -;; tab 9 TAB Ctrl+I -;; linefeed 10 LFD Ctrl+J -;; return 13 RET Ctrl+M -;; escape 27 ESC Ctrl+[ - -(define-key minibuffer-local-map [escape] 'minibuffer-keyboard-quit) -(global-set-key [escape] 'keyboard-quit) -(global-set-key (kbd "C-g") nil) - - ;; Put a quote in the scratch buffer (setopt cookie-file "~/data/quotes") |