Skip to content

audit custom keybindings #8

Description

@bcmertz

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions