**
How to display the name or path of the file being viewed
**
ctrl + g can display the file name
, press 1 and then ctrl + g to display the absolute path of the file
**
Pointer cursor jump
**
Skip to the last line: shift g
to the last character of
this line : shift 4 to the last character of the last line: first shift g and then shift 4
Jump to the first character of the first line: first press g twice to
jump to the first character of the current line: press 0 in the current line
vim interface uses shell commands
**
:!commod
例如
:! ls -l
Summary of executing shell commands in vim
How to create two vim in vim and how to switch between the two vim
:sp 文件名 #横向切屏
:vsp 文件名 #纵向切屏
按下 ctrl +w +w 可以实现两个屏幕的互相切换
Find the tab key in vim mode
You can use the following method:
1 set list in vim command mode (display the tab key) cancel the tab key (set no'list)
2 then search /t to find all the tab keys
How to distinguish tabs under vim
How to delete one or more lines in the vim editor
Delete rows in a given range
:3,5d