-+icomplete/M-x

This command doesn't work for icomplete, so I can't do this.
This commit is contained in:
dx
2020-05-31 01:05:12 +01:00
parent 8b141a9c07
commit 6e605639ee
2 changed files with 1 additions and 6 deletions

View File

@@ -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)

View File

@@ -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)