From 139ef469563afa19a1931232c514c1ee56f8253a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 Jan 2019 22:07:53 -0500 Subject: [PATCH] Also bind s-x to execute-extended-command Makes M-x harder to miss (in the case where you use multiple computers with different modifier layouts on their keyboards). --- modules/config/default/config.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/config/default/config.el b/modules/config/default/config.el index df3fb9c8b..1ca56b1b5 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -138,10 +138,11 @@ ;; Doom's keybinding scheme (when (featurep! +bindings) - ;; Make M-x more accessible + ;; Make M-x harder to miss (define-key! 'override - "M-x" #'execute-extended-command - "A-x" #'execute-extended-command) + "M-x" #'execute-extended-command + "A-x" #'execute-extended-command + "s-x" #'execute-extended-command) ;; Smarter C-a/C-e for both Emacs and Evil. C-a will jump to indentation. ;; Pressing it again will send you to the true bol. Same goes for C-e, except