summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-08-26 10:13:51 +0200
committerAlan Pearce2015-08-26 10:13:51 +0200
commitd93fa21de8e85d8a7ca47c22ad8b46395299def6 (patch)
tree7c85685b4b961849e60f9f9eae9b8cb608344a8a /tag-emacs
parent03165f6cd7fdd3963d715ae90038ae2d8131f710 (diff)
downloadnixfiles-d93fa21de8e85d8a7ca47c22ad8b46395299def6.tar.lz
nixfiles-d93fa21de8e85d8a7ca47c22ad8b46395299def6.tar.zst
nixfiles-d93fa21de8e85d8a7ca47c22ad8b46395299def6.zip
Emacs: Set Counsel’s M-x to search from anywhere
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 8b2bc8b7..07d64c6f 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1204,7 +1204,8 @@ replace helm and ido.
               (ivy-set-actions 'ivy-switch-buffer '(("k" (lambda (x)
                                                            (kill-buffer x)
                                                            (ivy--reset-state ivy-last))
-                                                     "kill"))))
+                                                     "kill")))
+              (add-to-list 'ivy-initial-inputs-alist '(counsel-M-x . "")))
     :init (progn
             (ivy-mode 1)))
 #+END_SRC