From 1d8edf41dabb379cae1f5a52b16497e686c76940 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 9 Jul 2025 21:06:41 +0100 Subject: Add global keybindings to various buffer modes --- emacs-config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/emacs-config.org b/emacs-config.org index b20fa34..5460911 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -142,6 +142,18 @@ Help actions. (keymap-global-set "C-h M" #'describe-keymap) (keymap-global-set "C-h j" #'describe-char) #+end_src + +Display modes. +#+begin_src elisp + (keymap-global-set "C-x x c" #'display-fill-column-indicator-mode) + (keymap-global-set "C-x x l" #'display-line-numbers-mode) + (keymap-global-set "C-x x h" #'hl-line-mode) + (keymap-global-set "C-x x o" #'overwrite-mode) + (keymap-global-set "C-x x s" #'prettify-symbols-mode) + (keymap-global-set "C-x x w" #'visual-line-mode) + (keymap-global-set "C-x x SPC" #'whitespace-mode) +#+end_src + * Version Control Rebind diff-mode's ~diff-goto-source~ keybinding due to conflict with =M-o=. #+begin_src elisp -- cgit