Quick Tip – vi Cursor Position Information

I came across a great tip today for vi users which I wanted to share.

When using vi I sometimes need information about my cursor’s position in a document I’m editing. A quick way to do this is to type the command g and then ctrl-g. This provides position information relating to the column, line, word and byte position of the cursor in the file.

Advertisements