Remove old function-key bindings

This commit is contained in:
contrapunctus 2022-01-16 14:02:15 +05:30
parent bfeeef02ce
commit 952012182c
1 changed files with 6 additions and 22 deletions

View File

@ -209,12 +209,14 @@ NAME is the name of the process and its buffer."
;; "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) ;; QWERTY C-w
;; ;; Emacs-like
("M-e" . kill-word) ;; QWERTY M-d
("C-e" . delete-char) ;; QWERTY C-d
("M-u" . forward-word) ;; QWERTY M-f
("C-." . end-of-line) ;; QWERTY C-e
("M-e" . kill-word) ;; QWERTY M-d
("C-e" . delete-char) ;; QWERTY C-d
("M-u" . forward-word) ;; QWERTY M-f
("C-." . end-of-line) ;; QWERTY C-e
;; new
("C-h" . backward-delete-char) ;; Dvorak C-h = QWERTY C-j (an improvement)
;; for swapped parenthesis and square brackets layout
("C-)" . abort-recursive-edit)
(:map text-mode-map ("M-." . forward-sentence))
;; ;; The old C-n/C-p/M-n/M-p were not the most comfortable to begin with, so I take this opportunity to bind them to something consistent with Boon
(:map minibuffer-local-map
@ -3420,24 +3422,6 @@ But with =initials=, the desired completion is often buried in the results. That
;; ;; (toggle-debug-on-quit)
#+END_SRC
* general (keybindings)
#+BEGIN_SRC emacs-lisp
(general-define-key
"<f8>" 'keyboard-quit
"M-<f8>" 'eval-defun
"M-<f9>" 'dired-jump
"<f10>" 'save-buffer
"M-<f10>" 'find-file
"<f11>" 'consult-buffer
"M-<f11>" 'ibuffer
"<f12>" 'execute-extended-command
"M-<f12>" 'text-scale-adjust
"C-c C-j" 'join-line
"C-c C-r" (lambda () (interactive) (revert-buffer t t))
;; for swapped parenthesis and square brackets layout
"C-)" 'abort-recursive-edit)
#+END_SRC
* Linewrapping
#+BEGIN_SRC emacs-lisp
(add-hook 'erc-mode-hook 'visual-line-mode)