Vim Hands-On Tutorial(Learning Vim)
Last updated
Was this helpful?
Last updated
Was this helpful?
|
In my personal experience of learning Vim, it is very difficult to learn Vim by reading documentation or watching other people operate it. You have to be in the real world, in real scenarios, to familiarize yourself with the commands and master them.
Therefore, to meet the needs of learning and operating at the same time, all the files in the project are in Markdown format, which can be read as an explanation document, and can also be opened in Vim. You can read it as an explanatory document, and you can also use Vim to open the files for actual operation (the latter is recommended).
clone project to local
go to the project folder
open the file chapter01.md
in Vim
[!NOTE]
[!NOTE]
In the tutorials, you can navigate to the next chapter or related chapters, and locate the file name to open it by executing
gf
(goto file). Related filesYou may get a file not saved error when you exit the tutorial with
:q
or:qa
, try adding!
to the end of the command!
Run vimtutor
on the console. This is the official hands-on tutorial for Vim.
Thanks again for your interest! If you love, please share. Love life, love VIM!
If you already have your own .vimrc
file (refer to ) and have changed some of the defaults in it, it may cause some operations to not match the tutorial. In this case, you can run Vim
with the following command:
You can always open the relevant chapter to view, and then use :bp
to go back to the previous file (this command will (This command is covered in ).
Great tutorial to get started!
Frequently updated, a must-read for Vim.
30 articles, the content is more complete!
Another Learn Vim (English)
Interactive Vim Tutorials
Vim cheatsheet