Enable counsel-preselect-current-file

This commit is contained in:
Adam Goldsmith 2020-07-12 16:58:48 -04:00
parent b5a0f14951
commit faf8bb7e9f
1 changed files with 2 additions and 1 deletions

View File

@ -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 ()