Sunday, January 19, 2014

Some useful VI editor commands

J – to join two lines
dl – single character, dw – Single word, dd – single line, d$ – to the end of the line
i – insert mode, A – append to the end of the line, o – insert in next line
:set list – to see special characters
:%s/str1/str2/g – search and replace

No comments:

Post a Comment

Latest Posts