Vim TIL
From OnnoCenterWiki
Vim Today I Learned
- visual replace
:s/\%Vus/az/g
- vim repeat last command
press .
- vim search/replace under cursor
press * under keywords, switch to commandmode :%s//replace/g blank will filled with latest search
:s/\%Vus/az/g
press .
press * under keywords, switch to commandmode :%s//replace/g blank will filled with latest search