Emacs kaizen: helm-swoop and editing
Continuing on this quest to focus on one tiny little workflow change at a time, so that I can get even better at using Emacs…
One of those packages I installed but never got around to trying out was all
, which lets you interactively edit all lines matching a given regular expression. It’s like an editable occur, sorta.
It turns out that helm-swoop
lets you use C-c C-e
to edit matching lines interactively (so you can use keyboard macros or replace-regexp or whatever). You can type C-x C-s
to save it back to the buffer.
On a related note, I’m still tickled pink every time I use dired-toggle-read-only
(C-x C-q
) to make a Dired buffer editable so that I can batch-rename filenames.
2 Pingbacks/Trackbacks
- 05 February 2015 at 12:02pm
- Narrow your view on multiple-cursor marks | Wisdom and Wonder 10 February 2015 at 7:02am
- Narrowing with Multiple Cursors | Irreal
[…] discussion in the comments of this post is great. It reveals a couple of ways ...
[…] Rettke points to a discussion in the comments from a Sacha Chua post. It turns ...