Emacs kaizen: helm-swoop and editing
Posted: - Modified: | emacsContinuing 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.
You can comment with Disqus or you can e-mail me at sacha@sachachua.com.