summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-23 10:42:56 +0000
committernoa@gaiwan.org2024-06-23 10:42:56 +0000
commitfa01e995fced3fe4e65e686a39c6ef4b19e79df0 (patch)
tree5e6abef016bff269e474976ad39e05e12c5f5600
parent0e06a5d4ee46238d82c1b48f0e7ab384760d066e (diff)
Change binding for my fulltext homedir search
-rw-r--r--config.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.org b/config.org
index 566f7c1..124adf6 100644
--- a/config.org
+++ b/config.org
@@ -1579,10 +1579,10 @@ My computer has a small screen, so i find that it's more beneficial for me to sp
Define a handy function that allows me to do a full text search of every file in my home directory. For the most part, this works well; ripgrep avoids binary files. However, in some files with embedded images, it can add a lot of junk to the output.
#+begin_src elisp
-(defun noa/consult-rg-home ()
- (interactive)
- (consult-ripgrep "~/"))
-(global-set-key (kbd "<f5>") #'noa/consult-rg-home)
+ (defun noa/consult-rg-home ()
+ (interactive)
+ (consult-ripgrep "~/"))
+ (global-set-key (kbd "M-<menu>") #'noa/consult-rg-home)
#+end_src
#+begin_src elisp