vim automatically use the last search in search and replace
Just discovered this! In vim, if I skip the pattern, it’ll take the one last searched for:
/mypattern
:s//newpattern/g
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus