ruler VIM Command

How to use ruler Command in Linux VIM editor?

Explanation


ruler command is used to show the ruler, which displays the cursor position in the file.

Usage:

:set ruler

Example:

  • Open the file test.txt
    $ vim test.txt
  • Show the ruler using the command
    :set ruler
  • The file with ruler is as follows
    ruler Vim Command

Ask Questions

Ask Question