(Emacs/core)+binding <leader>fp to use counsel-git in defiles folder

Lookup all files in the repository.  Best solution I could come up
with.
This commit is contained in:
2024-04-24 04:05:31 +05:30
parent 37351ad299
commit 8ea2b51e5a

View File

@@ -360,7 +360,11 @@ Setup for counsel. Load after ivy and helpful.
"s" #'counsel-grep-or-swiper
"r" #'counsel-rg)
(file-leader
"r" #'counsel-recentf)
"r" #'counsel-recentf
"p" (proc (interactive)
(with-current-buffer (find-file-noselect
(concat user-emacs-directory "config.org"))
(counsel-git))))
(insert-leader
"c" #'counsel-unicode-char)
(general-def