[dvorak] remove C-g, C-w, C-u, and C-h rebindings

This commit is contained in:
contrapunctus 2021-02-20 12:25:20 +05:30
parent 613253aff0
commit 0adf1e26bc
1 changed files with 2 additions and 7 deletions

View File

@ -9,6 +9,8 @@ But after ironing out [[https://github.com/jingtaozf/literate-elisp/issues/7][so
** TODO dvorak [60%]
At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned out to not be my idea of fun. I wrote boon-dvorak, and let [most of] the others be.
(QWERTY) C-w, C-u, and C-h are probably best left as they are, since they are also present in other applications.
1. [X] M-n, M-p, -> M-r, M-c
2. [X] M-q -> M-'
3. [X] M--
@ -28,8 +30,6 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
;; basic Modifier-based editing commands
;; "C-d" 'backward-delete-char ;; unnecessary - QWERTY C-h is merely next to your index finger, but Dvorak C-h is directly under it
"C-," 'backward-kill-word
"C-g" 'cp-kill-line-0
"C-d" 'keyboard-quit
;; ;; Emacs-like
"M-e" 'kill-word
@ -62,11 +62,6 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
"M-r" 'ivy-next-history-element)
(general-def swiper-map
"C-c" 'previous-line)
#+END_SRC
I hate the position of C-g on the typical QWERTY keyboard. keyboard-quit is a frequently-used command, let's bind it somewhere involving less hand-movement.
#+BEGIN_SRC emacs-lisp
(bind-keys
("M-d" . keyboard-quit))
(general-auto-unbind-keys t)
#+END_SRC
** user interface