aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d
diff options
context:
space:
mode:
Diffstat (limited to 'Doom/.doom.d')
-rw-r--r--Doom/.doom.d/modules/private/icomplete/config.el5
-rw-r--r--Doom/.doom.d/org/config.org2
2 files changed, 1 insertions, 6 deletions
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)