![]() In this article, let us review the following 8 Vi / Vim navigation options.įollowing are the four navigation that can be done line by line.īy using the repeat factor in VIM we can do this operation for N times. To be very productive, you should be aware of all possible navigation shortcuts in your editor. Navigation is a vital part of text editing. This article is part of the ongoing Vi / Vim Tips and Tricks series. You can view EDUCBA’s recommended articles for more information.This article is written by SathiyaMoorthy. We hope that this EDUCBA information on “Vim Command in Linux” was beneficial to you. So, users prefer using this editor for their needs. The editor is user-friendly and flexible to use. Most of the Vim editor is used to create a new file, edit an existing one, or just read one. This editor is default present in all Linux or Unix OS. Most usage of vim editor is used to create a new file, edit an existing one, or read a file. It is the default editor which is installed in Unix OS. In Unix Shell Scripting, the VIM editor is one of the most helpful text editors. G- moves the cursor to the end of the file.gg- moves the cursor to the beginning of the file.w- moves the cursor to the start of the next word.e- moves the cursor to the end of a word.b- moves the cursor to the end of a word.j- moves the cursor to the down of one line.L- moves the cursor to the bottom of the screen.M- moves the cursor to the middle of the screen.H- moves the cursor to the beginning of the screen.Below are a few of them for easy movement of the cursor: There are a few shortcut commands in the Vim editor to move the cursor from where it last ended. Esc +:wq – To save the file and exit from Vim.Esc +:q! – To quit the file without first saving what you were working on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |