From 6e605639ee0806e952a68cb972fc4d1d24725b1b Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 31 May 2020 01:05:12 +0100 Subject: -+icomplete/M-x This command doesn't work for icomplete, so I can't do this. --- Doom/.doom.d/modules/private/icomplete/config.el | 5 ----- Doom/.doom.d/org/config.org | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'Doom') diff --git a/Doom/.doom.d/modules/private/icomplete/config.el b/Doom/.doom.d/modules/private/icomplete/config.el index 02a2f5c..a726491 100644 --- a/Doom/.doom.d/modules/private/icomplete/config.el +++ b/Doom/.doom.d/modules/private/icomplete/config.el @@ -18,9 +18,4 @@ (setq icomplete-separator "\t|\t") (setq icomplete-in-buffer t) -(defun +icomplete/M-x () - "M-x command that starts matching instantly" - (interactive) - (execute-extended-command "*")) - (icomplete-mode +1) diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 12f153b..99e73fc 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -554,7 +554,7 @@ General keymap #+BEGIN_SRC elisp (map! :leader - :desc "M-x" "SPC" #'+icomplete/M-x ; Redefine as M-x because of my muscle memory with spacemacs + :desc "M-x" "SPC" #'execute-extended-command ; Redefine as M-x because of my muscle memory with spacemacs :desc "Shell command" "!" #'async-shell-command ; Better than M-! (:prefix ("b" . "buffers") ; Buffers :desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows) -- cgit v1.2.3-13-gbd6f