diff options
| author | Craig Jennings <c@cjennings.net> | 2025-10-23 00:09:44 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-10-23 00:09:44 -0500 |
| commit | 920014dc312b290daa21f4d86564dab22e28a5ae (patch) | |
| tree | e846f5f66dcf5bf0c020525f6ba3de1764212065 | |
| parent | 70f64261168d6f508a318a0159933a84e0997e1e (diff) | |
chore:keybindings: update comments and remove unused code
Update comments in keybindings.el for clarity by removing tilde
markers around key sequences. Remove unused code related to
which-key initialization to streamline the configuration.
| -rw-r--r-- | modules/keybindings.el | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/modules/keybindings.el b/modules/keybindings.el index 491c102c..1f8867ef 100644 --- a/modules/keybindings.el +++ b/modules/keybindings.el @@ -6,18 +6,13 @@ ;; Global keybinding configuration and custom keymap framework. ;; ;; Main features include: -;; - custom keymap prefix (~C-;~) for all custom commands, -;; - jump-to-file commands (~C-c j <key>~) for frequently used files +;; - custom keymap prefix C-; for all custom commands, +;; - jump-to-file commands C-c j <key> for frequently used files ;; - which-key integration for keybinding discovery ;; - free-keys for finding available keybindings -;; - hostile keybinding protection that disables accidental suspend-frame and other dangerous operations -;; - training to encourage faster keybindings ;; ;; Key principles: ;; - avoid keybindings close to commonly-used keys that have painful results -;; - use global-map for truly global bindings -;; - use custom-keymap (~C-;~) for custom functionality -;; - keep ~C-c <letter>~ reserved for user bindings per Emacs conventions ;; ;;; Code: @@ -93,15 +88,6 @@ Errors if VAR is unbound, not a non-empty string, or the file does not exist." :custom (which-key-idle-delay 1.0) (which-key-popup-type 'side-window) - ;; :init - ;; ;; Load + enable after a short idle so it doesn't count toward startup. - ;; (run-with-idle-timer 0.5 nil - ;; (lambda () - ;; (require 'which-key nil t) - ;; ;; Ensure config has applied, then enable the mode. - ;; (with-eval-after-load 'which-key - ;; (unless (bound-and-true-p which-key-mode) - ;; (which-key-mode 1))))) :config (which-key-setup-side-window-bottom) ;; never show keybindings that have been 'cj/disabled' |
