aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/core.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-24 04:05:31 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-24 04:06:52 +0530
commit8ea2b51e5afbf413b3c46f2c532b052b1028bec6 (patch)
tree7211aeea86942909b77ab146a97dcb4dbd89bf7f /Emacs/.config/emacs/core.org
parent37351ad29953e3c12851efef05406a5a2f57cace (diff)
downloaddotfiles-8ea2b51e5afbf413b3c46f2c532b052b1028bec6.tar.gz
dotfiles-8ea2b51e5afbf413b3c46f2c532b052b1028bec6.tar.bz2
dotfiles-8ea2b51e5afbf413b3c46f2c532b052b1028bec6.zip
(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.
Diffstat (limited to 'Emacs/.config/emacs/core.org')
-rw-r--r--Emacs/.config/emacs/core.org6
1 files changed, 5 insertions, 1 deletions
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