(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:
@@ -360,7 +360,11 @@ Setup for counsel. Load after ivy and helpful.
|
|||||||
"s" #'counsel-grep-or-swiper
|
"s" #'counsel-grep-or-swiper
|
||||||
"r" #'counsel-rg)
|
"r" #'counsel-rg)
|
||||||
(file-leader
|
(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
|
(insert-leader
|
||||||
"c" #'counsel-unicode-char)
|
"c" #'counsel-unicode-char)
|
||||||
(general-def
|
(general-def
|
||||||
|
|||||||
Reference in New Issue
Block a user