diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-24 04:05:31 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-24 04:06:52 +0530 |
commit | 8ea2b51e5afbf413b3c46f2c532b052b1028bec6 (patch) | |
tree | 7211aeea86942909b77ab146a97dcb4dbd89bf7f /Emacs | |
parent | 37351ad29953e3c12851efef05406a5a2f57cace (diff) | |
download | dotfiles-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')
-rw-r--r-- | Emacs/.config/emacs/core.org | 6 |
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 |