Vi Editor - Moving cursor to Start/End of the line.

 VI Editor - Moving cursor to Start/End of the line.


Suppose, say you open any file using Vi Editor, using the below below command,


vi <abc.txt>

Post opening the file, you need to view the last line/word of the file. How do you do that ? Just press dollar Symbol. Voila !


$ – Shift + 4


And, how do you view again the first line/word of the opened file ? Pressing '_' underscore symbol in keyboard will move the cursor to the first line of the opened file.


_ – Shift + _



 

 

Popular posts from this blog

jQuery in 2020

Getting displayValue in ExtJS in combo