A vi equivalent of vim’s ‘set ruler’ command

vivim

Is there a way to show the current row and column position in vi? In vim, I know there is the set ruler command, but what are my options when using vi?

Best Answer

You can do set number to show the line number at the beginning of each line. However, in original vi, there doesn't seem to be an option to show the current column.

There is a way to at least position the cursor at a specific column. Do 25| to position the cursor at column 25 of the current line.

Related Question