serhii.net

In the middle of the desert you can say anything you want

20 Dec 2021

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.