From d22d004ed9bdc11dbc21be368f90384ed8b1b795 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 23 Oct 2025 00:15:14 -0500 Subject: refactor: unify and simplify key binding setups Optimized key binding configurations across modules for consistency and reduced redundancy. Improved conditional requiring to handle errors gracefully in `music-config.el`, ensuring robustness across different machine environments. Eliminated comments clutter and adjusted function definitions to adhere to revised standards. --- modules/selection-framework.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/selection-framework.el') diff --git a/modules/selection-framework.el b/modules/selection-framework.el index 9e7e44a3..66ca1cbd 100644 --- a/modules/selection-framework.el +++ b/modules/selection-framework.el @@ -129,7 +129,7 @@ (setq completion-in-region-function #'consult-completion-in-region)) (global-unset-key (kbd "C-s")) -(global-set-key (kbd "C-s") 'consult-line) +(keymap-global-set "C-s" #'consult-line) ;; Consult integration with Embark (use-package embark-consult @@ -149,7 +149,6 @@ ;; --------------------------------- Orderless --------------------------------- ;; Advanced completion style - provides space-separated, out-of-order matching - (use-package orderless :demand t :custom -- cgit v1.2.3