Comment on page
Vim Hands-On Tutorial（Learning Vim）
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).
- 1.clone project to local
git clone https://github.com/dofy/learn-vim.git
- 2.go to the project folder
- 3.open the file
## Major titles represent a large category
### Subtitles represent subcategories under this major category
Text without any formatting is a normal description for reading purposes only.
> The text embedded in the quoted block is an instruction to operate, and you
> can follow what is mentioned in it
> Also operators or commands are included in symbols like `:w`.
The < and > in commands such as f<X> do not need to be typed, <X> represents a
variable, i.e. you can type fa or fb or fC
_Note: Commands are case-sensitive (matters requiring attention appear in
symbols such as the current line)_
[!NOTE]If you already have your own
.vimrcfile (refer to Chapter 4) 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
Vimwith the following command:# Do not load the configuration filevim -u NONE# Load a specific configuration filevim -u <filename>
- 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 files
- You may get a file not saved error when you exit the tutorial with
:qa, try adding
!to the end of the command!
vimtutoron 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!