Percentage (%) VIM Command

How to use Percentage (%) Command in Linux VIM editor?


This command is used to move the cursor based on the percentage.




  • Open the file test.txt using the command
    $ vim test.txt
  • You can view that the cursor is now focussed in fourth line
    Percentage Vim Command
  • To move the cursor to 30% position of the file
    Press 30%
    Move Cursor Based on Percentage Vim

Ask Questions

Ask Question