From 8ea2b51e5afbf413b3c46f2c532b052b1028bec6 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 24 Apr 2024 04:05:31 +0530 Subject: (Emacs/core)+binding fp to use counsel-git in defiles folder Lookup all files in the repository. Best solution I could come up with. --- Emacs/.config/emacs/core.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/core.org b/Emacs/.config/emacs/core.org index 143af67..5298760 100644 --- a/Emacs/.config/emacs/core.org +++ b/Emacs/.config/emacs/core.org @@ -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 -- cgit v1.2.3-13-gbd6f