From faf8bb7e9fd82a547ea9545d22cac2c62bf740ce Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 12 Jul 2020 16:58:48 -0400 Subject: [PATCH] Enable counsel-preselect-current-file --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index dbabe96..a6ab676 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -433,7 +433,8 @@ :init (bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x. :config - (setq ivy-extra-directories nil) + (setq ivy-extra-directories nil + counsel-preselect-current-file t) (assq-delete-all 'counsel-M-x ivy-initial-inputs-alist) (defun counsel-find-file-edit-path ()