Closed idbrii closed 2 years ago
On second thought, smarter use of :sub is probably better. I just need to remember zero-width atoms and I can do:
:%s/.*\zssmall/big/
That probably jives better with Dirvish's "be vimlike and rely on vim" philosophy.
Would it be easy to give Shdo the power to manipulate filenames?
For example, given a dirvish buffer:
Selecting all and invoking:
Could produce:
Renaming files like this with the current Shdo is cumbersome because you want the substitution to occur at the end of the line instead of the beginning.
However, maybe
{}
was specifically selected to be likefind
and because it's unlikely to occur in valid shellscript, but text inside the braces is common.