Use `C-c` and `C-x` appropriately and consider moving custom un-prefixed keybindings into `C-c` prefix space https://www.reddit.com/r/emacs/comments/a5j3lc/emacs_key_binding_conventions_and_why_you_should/ clearing unused keymaps / changing default binding: https://github.com/bcmertz/dotfiles/blob/main/.emacs.d/lisp/custom-editing.el#L143-L144 ``` (setq hs-minor-mode-map (make-sparse-keymap)) ;; turn off default keymap (which-key-add-key-based-replacements "C-c f" "folding") ;; add our own keymap ``` making new keymaps from my own modules: https://systemcrafters.net/learning-emacs-lisp/creating-minor-modes/ ``` (defvar dotcrafter-basic-mode-map (make-sparse-keymap) "The keymap for dotcrafter-basic-mode") ```
Use
C-candC-xappropriately and consider moving custom un-prefixed keybindings intoC-cprefix spacehttps://www.reddit.com/r/emacs/comments/a5j3lc/emacs_key_binding_conventions_and_why_you_should/
clearing unused keymaps / changing default binding:
https://github.com/bcmertz/dotfiles/blob/main/.emacs.d/lisp/custom-editing.el#L143-L144
making new keymaps from my own modules:
https://systemcrafters.net/learning-emacs-lisp/creating-minor-modes/