I found myself wanting to rename a bunch of files, for which I use ranger
and :bulkrename
. This launches kakoune to edit the filenames.
Most of the changes were easy, but there was one step where I wanted to have multiple selections, but without following any obvious pattern. Does kakoune have a command for “select here, and here, and here, and here”?
Example:
202301-My Bank Statement.pdf
202212-My Bank Statement.pdf
202211-My Bank Statement.pdf
202210-My Bank Statement.pdf
202209-My Bank Statement.pdf
202208-My Bank Statement.pdf
202207-My Bank Statement.pdf
202206-My Bank Statement.pdf
How can I select all the months with 31 days so that I can then do i 3 1
for those months without adding any text for the months with 30 days?
Thanks.