05 - How to Set Number in Vi - Vim Navigation | Vim Navigation Cheat Sheet | #linuxtopic

how to set number in vi, vim navigation, vim tutorial, vi tutorial, vim navigation cheat sheet,set number in vim, Vim Navigation,Vim Navigation Cheat
Cursor Navigation in vim editor, set number in file

Before we start to navigate in vi first we will set the number in vim to better understating.

 To set number in vi

        1 - Press   Key 

        2 - Press Colon ( : ) and type :set number


To unset number in vim

        1 - Press   Key 

        2 - Press Colon ( : ) and type :set nonumber


To Jump at the start or first line in vim


To Jump N line number, ex line 10



Jump to the end of the file in vi or end of the line in vim


Jump back to the previous position

Ctrl + o

Jump to the next position

Ctrl + i

Thanks you !! I hope this topic gave you all the information you needed. If you have any further questions or would like more detailed directions feel free to contact us using any of the following sources.We look forward to talking to you.

No comments

Powered by Blogger.