Set counsel-find-file-at-point to t by default.

This enables better auto completion of =counsel-find-file=.
This commit is contained in:
Hong Xu 2019-10-25 13:01:00 -07:00 committed by duianto
parent 11b258c71c
commit cff6b47e6f
2 changed files with 7 additions and 1 deletions

View File

@ -1863,6 +1863,8 @@ Other:
- Fixed definitions of extra actions R and D for recentf (thanks to madand)
- Renamed =counsel-more-chars= to =ivy-more-chars= to match upstream
(thanks to duianto)
- Set =counsel-find-file-at-point= to =t= to enable better auto completion
of =counsel-find-file= (thanks to Hong Xu)
**** Imenu-list
- Changed ~SPC b i~ to ~SPC b t~ for =imenu= tree view
(thansk to Sylvain Benner)

View File

@ -139,7 +139,11 @@
;; TODO Commands to port
(spacemacs//ivy-command-not-implemented-yet "jI")
;; Set syntax highlighting for counsel search results
(ivy-set-display-transformer 'spacemacs/counsel-search 'counsel-git-grep-transformer))))
(ivy-set-display-transformer 'spacemacs/counsel-search
'counsel-git-grep-transformer)
;; Enable better auto completion of counsel-find-file
;; by recognizing file at point.
(setq counsel-find-file-at-point t))))
(defun ivy/pre-init-counsel-projectile ()
;; overwrite projectile settings