Sort key bindings for better maintainability

This commit is contained in:
Daniel Borchmann 2025-08-07 17:28:37 +02:00
parent a8da7548af
commit 783069fa5c
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

24
init.el
View File

@ -3050,9 +3050,10 @@ Note that this workaround is incomplete, as explained in this comment."
;; Top-Level Keybindings
(bind-key "<Scroll_Lock>" 'scroll-lock-mode)
(bind-key "<XF86Back>" #'winner-undo)
(bind-key "<XF86Forward>" #'winner-redo)
(bind-key "<Scroll_Lock>" 'scroll-lock-mode)
(bind-key "<f10>" #'magit-status)
(bind-key "<f1>" #'db/run-or-hide-eshell)
(bind-key "<f2>" #'db/frequently-used-features-prefix)
(bind-key "<f5>" #'project-find-regexp)
@ -3060,7 +3061,6 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "<f7>" #'dictcc)
(bind-key "<f8>" #'hydra-org-linking/body)
(bind-key "<f9>" #'magit-dispatch)
(bind-key "<f10>" #'magit-status)
(bind-key "C-," #'mc/skip-to-previous-like-this)
(bind-key "C-." #'mc/skip-to-next-like-this)
(bind-key "C-;" #'iedit-mode)
@ -3080,27 +3080,27 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "C-c j" #'avy-goto-char-timer)
(bind-key "C-c l" #'org-store-link)
(bind-key "C-c m" #'music-control/body)
(bind-key "C-c n c" #'org-roam-capture)
(bind-key "C-c n f" #'org-roam-node-find)
(bind-key "C-c n i" #'org-roam-node-insert)
(bind-key "C-c n c" #'org-roam-capture)
(bind-key "C-c o" #'hydra-org-custom/body)
(bind-key "C-c r" #'recentf)
(bind-key "C-c t" #'hydra-toggle/body)
(bind-key "C-h f" #'helpful-callable)
(bind-key "C-h o" #'helpful-symbol)
(bind-key "C-h v" #'helpful-variable)
(bind-key "C-h k" #'helpful-key)
(bind-key "C-h x" #'helpful-command)
(bind-key "C-h C-f" #'find-function)
(bind-key "C-h C-k" #'find-function-on-key)
(bind-key "C-h C-v" #'find-variable)
(bind-key "C-h f" #'helpful-callable)
(bind-key "C-h k" #'helpful-key)
(bind-key "C-h o" #'helpful-symbol)
(bind-key "C-h v" #'helpful-variable)
(bind-key "C-h x" #'helpful-command)
(bind-key "C-x 4 C-j" #'dired-jump-other-window)
(bind-key "C-x b" #'consult-buffer)
(bind-key "C-x C-b" #'ibuffer)
(bind-key "C-x C-d" #'dired)
(bind-key "C-x C-j" #'dired-jump)
(bind-key "C-x C-r" #'revert-buffer)
(bind-key "C-x SPC" #'hydra-rectangle/body)
(bind-key "C-x b" #'consult-buffer)
(bind-key "C-x g" #'db/shortcuts)
(bind-key "C-x o" #'ace-window)
(bind-key "C-x r E" #'db/bookmark-add-external)
@ -3111,11 +3111,11 @@ Note that this workaround is incomplete, as explained in this comment."
(bind-key "M-:" #'pp-eval-expression)
(bind-key "M-=" #'count-words)
(bind-key "M-Z" #'zap-to-char)
(bind-key "M-g M-g" #'avy-goto-line)
(bind-key "M-g g" #'avy-goto-line)
(bind-key "M-g i" #'consult-imenu)
(bind-key "M-j" #'(lambda () (interactive) (join-line -1)))
(bind-key "M-z" #'zap-up-to-char)
(bind-key "M-g i" #'consult-imenu)
(bind-key "M-g g" #'avy-goto-line)
(bind-key "M-g M-g" #'avy-goto-line)
(bind-key "M-r" #'consult-history minibuffer-mode-map)
(bind-key "C-r" #'consult-history minibuffer-mode-map)