diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-12 21:12:32 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-12 21:12:32 +0530 |
commit | 5fee49b69d6605d3d695f2df56f2139c0b6ef11b (patch) | |
tree | 20e7621475d7b00a2f27d6e2a118ea30cd36214f /Emacs/.config/emacs/config.org | |
parent | eacfab80dd04777650b4ea665c0fb4b3bfae73de (diff) | |
download | dotfiles-5fee49b69d6605d3d695f2df56f2139c0b6ef11b.tar.gz dotfiles-5fee49b69d6605d3d695f2df56f2139c0b6ef11b.tar.bz2 dotfiles-5fee49b69d6605d3d695f2df56f2139c0b6ef11b.zip |
(Emacs/elisp)+search.el
I can now completing-read search git files from a ton of repositories
AND grep them.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 2871505..45caf0d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -759,6 +759,18 @@ eating up memory. "C-M-k" #'drag-stuff-up "C-M-l" #'drag-stuff-right)) #+end_src +** Search git directories efficiently +Using [[file:elisp/search.el][search.el]] I can search a set of +directories particularly efficiently. +#+begin_src emacs-lisp +(use-package emacs + :config + (load-file (concat user-emacs-directory "elisp/search.el")) + :general + (leader + "e" #'+search/file-search + "E" #'+search/search-all)) +#+end_src * Applications (loading) Emacs is basically an operating system whose primary datatype is text. Applications are interfaces/environments which serve a variety of |