Enable counsel-preselect-current-file

This commit is contained in:
Adam Goldsmith 2020-07-12 16:58:48 -04:00
parent b5a0f14951
commit faf8bb7e9f

View File

@ -433,7 +433,8 @@
:init :init
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x. (bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
:config :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) (assq-delete-all 'counsel-M-x ivy-initial-inputs-alist)
(defun counsel-find-file-edit-path () (defun counsel-find-file-edit-path ()