summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-07-27 11:21:21 +0000
committernoa@gaiwan.org2024-07-27 11:21:21 +0000
commitdbefe4b5d96c9fec228714f937d6a9e353db343d (patch)
treec72d5bee8b6a7007d29ccb5c7aa431d7878c2eeb /config.org
parent24a5fd2711bfa16d55ec437d81d896b2fa8ef400 (diff)
Remove anzu
Diffstat (limited to 'config.org')
-rw-r--r--config.org11
1 files changed, 2 insertions, 9 deletions
diff --git a/config.org b/config.org
index 52dd954..287b99b 100644
--- a/config.org
+++ b/config.org
@@ -1683,21 +1683,14 @@ If you want to move the cursor to a subsequent instance of the search term, you
 
 Semi-modes seem hard to implement in emacs, although in a lot of ways they are already here.  I am not a fan of modes in the vi-sense at all, and isearch in emacs is a mode like this.  That is, keybindings work differently when isearching, and you have to press C-g or RET to go back to the normal editing flow.
 
-** Replace
-Anzu provides real-time updates to the replacement string when running query-replace.
-
-#+begin_src elisp
-  (package-ensure 'anzu)
-  (global-set-key [remap query-replace] 'anzu-query-replace)
-  (global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)
-#+end_src
-
+* Window management
 My computer has a small screen, so i find that it's more beneficial for me to split the frame into columns, so i get more context.  However, splitting in this way only gives me a (window-width) of 61, so emacs will always split into vertically stacked windows.  By setting this to 80, the first split should always be vertical.
 
 #+begin_src elisp
 (setopt split-width-threshold 80)
 #+end_src
 
+* Global text search
 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