~using icomplete command means that I don't need counsel bindings

This commit is contained in:
dx
2020-05-31 00:56:02 +01:00
parent b109953c33
commit c5c8c8c4f1

View File

@@ -476,7 +476,6 @@ General keymap
(map!
:leader
:after counsel ; Counsel or ivy
:desc "M-x" "SPC" #'execute-extended-command ; Redefine as M-x because of my muscle memory with spacemacs
(:prefix ("s" . "search")
:desc "RipGrep!" "r" #'counsel-rg ; Ripgrep is faster than Ag in most cases and makes me feel cool
:desc "Search Tags" "t" #'counsel-etags-find-tag)); is quicker to do than <SPC>/b, for something that is done so often
@@ -555,6 +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 "Shell command" "!" #'async-shell-command ; Better than M-!
(:prefix ("b" . "buffers") ; Buffers
:desc "Close buffer" "d" #'doom/kill-this-buffer-in-all-windows)