From d93fa21de8e85d8a7ca47c22ad8b46395299def6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 26 Aug 2015 10:13:51 +0200 Subject: Emacs: Set Counsel’s M-x to search from anywhere --- tag-emacs/emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 8b2bc8b..07d64c6 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 -- cgit 1.4.1