Bind C-. to end-of-line (QWERTY C-e)

This commit is contained in:
contrapunctus 2022-01-16 11:30:55 +05:30
parent f011b31c56
commit dc738b849b
1 changed files with 2 additions and 5 deletions

View File

@ -43,9 +43,7 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
#+BEGIN_SRC emacs-lisp
(use-package general
:commands (general-auto-unbind-keys
general-def
general-define-key))
:commands (general-auto-unbind-keys general-def general-define-key))
(general-auto-unbind-keys)
;; Most if not all of these are translations of their earlier QWERTY bindings.
@ -62,6 +60,7 @@ At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned o
"M-e" 'kill-word
"C-e" 'delete-char
"M-u" 'forward-word
"C-." 'end-of-line
"M-q" 'execute-extended-command
;; "C-x" 'forward-char
@ -1141,8 +1140,6 @@ Don't try to check if there are files with a certain extension...it will lead to
"C-h" 'backward-delete-char
"C-w" 'backward-kill-word
"C-u" 'cp-kill-line-0
"C-," 'backward-paragraph
"C-." 'forward-paragraph
"C-<" 'beginning-of-buffer
"C->" 'end-of-buffer)