-+icomplete/M-x
This command doesn't work for icomplete, so I can't do this.
This commit is contained in:
@@ -18,9 +18,4 @@
|
|||||||
(setq icomplete-separator "\t|\t")
|
(setq icomplete-separator "\t|\t")
|
||||||
(setq icomplete-in-buffer t)
|
(setq icomplete-in-buffer t)
|
||||||
|
|
||||||
(defun +icomplete/M-x ()
|
|
||||||
"M-x command that starts matching instantly"
|
|
||||||
(interactive)
|
|
||||||
(execute-extended-command "*"))
|
|
||||||
|
|
||||||
(icomplete-mode +1)
|
(icomplete-mode +1)
|
||||||
|
|||||||
@@ -554,7 +554,7 @@ General keymap
|
|||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(map!
|
(map!
|
||||||
:leader
|
: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-!
|
:desc "Shell command" "!" #'async-shell-command ; Better than M-!
|
||||||
(:prefix ("b" . "buffers") ; Buffers
|
(:prefix ("b" . "buffers") ; Buffers
|
||||||
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)
|
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)
|
||||||
|
|||||||
Reference in New Issue
Block a user