aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-31 01:05:12 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-31 01:05:12 +0100
commit6e605639ee0806e952a68cb972fc4d1d24725b1b (patch)
tree93821a7fbe06cf2b95b1859422386140ae568eba
parent8b141a9c07f569bb490b80c985e5585b2de5e197 (diff)
downloaddotfiles-6e605639ee0806e952a68cb972fc4d1d24725b1b.tar.gz
dotfiles-6e605639ee0806e952a68cb972fc4d1d24725b1b.tar.bz2
dotfiles-6e605639ee0806e952a68cb972fc4d1d24725b1b.zip
-+icomplete/M-x
This command doesn't work for icomplete, so I can't do this.
-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)