Created
January 30, 2024 17:02
-
-
Save SequentialDesign/cd1cb2686abf042ab8b78cde18bbf054 to your computer and use it in GitHub Desktop.
emacs hotkeys for 28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (progn | |
| (define-key key-translation-map [?\C-h] [?\C-?]) | |
| (define-key key-translation-map [?\M-h] [?\M-\d]) | |
| ;; (define-key key-translation-map (kbd "C-M-h") (kbd "C-S-<backspace>")) | |
| ;;(keymap-global-set "C-h" #'backward-delete-char) | |
| ;;(keymap-global-set "M-h" #'backward-kill-word) | |
| (global-set-key (kbd "M-o") #'other-window) | |
| (global-set-key (kbd "M-H") #'mark-paragraph) | |
| (global-set-key (kbd "C-M-S-h") #'mark-defun) | |
| (global-set-key (kbd "C-M-h") #'kill-whole-line) | |
| (global-set-key (kbd "C-\\") #'undo) | |
| (global-set-key (kbd "C-/") #'undo-redo) | |
| (global-set-key (kbd "M-p") #'scroll-down-line) | |
| (global-set-key (kbd "M-n") #'scroll-up-line)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment