当前位置:网站首页>VIM basic operation commands
VIM basic operation commands
2022-07-25 18:23:00 【Fire eye Dragon】
Cursor movement
- Direction key movement control
- Page turning pageup pagedown
- First line (home 0) Biko (end $)
- Skip to the last line of the file G
- Jump to the first line of the file gg
Copy and paste
- Copy
yy Copy the contents of the current line of the cursor
nyy Copy the current line n That's ok - Paste
p Paste the next line of the current line
P Paste the previous line of the current line
notes : Using the mouse from window Or copy the content to vim Editor paste , Be sure to do it in input mode , Otherwise, there is a risk of data loss .
Delete 、 Cancel the operation
- The delete command
dd Delete the current line where the cursor is located
ndd Delete the current line n That's ok - revoke 、 Counter cancellation
u Undo the last action
ctrl+r Counter cancellation
边栏推荐
- Unittest framework application
- 一周活动速递|深入浅出第8期;Meetup成都站报名进行中
- Why is the index in [mysql] database implemented by b+ tree? Is hash table / red black tree /b tree feasible?
- SQL things
- 程序的编译
- JZ71 跳台阶扩展问题
- ORB_SLAM3复现——上篇
- PHP memory management mechanism and garbage collection mechanism
- 泛域名配置方法
- pd.melt() vs reshape2::melt()
猜你喜欢

Construction of Huffman tree

If you want to do a good job in software testing, you can first understand ast, SCA and penetration testing

pd.melt() vs reshape2::melt()

Introduction to cloud XR and development opportunities of cloud XR in 5g Era

Pan domain name configuration method

7. Dependency injection

用GaussDB(for Redis)存画像,推荐业务轻松降本60%

SQL那些事

Cve-2022-33891 Apache spark shell command injection vulnerability recurrence

Boomi won the "best CEO in diversity" and the "best company in career growth" and ranked among the top 50 in the large company category
随机推荐
C语言 libcurl交叉编译
Remember those two sentences
One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress
7. Dependency injection
C language -- 25 minesweeping game
Jz71 jump step expansion problem
How to judge the performance of static code quality analysis tools? These five factors must be considered
Analysis of regression problem, modeling and prediction
[QNX Hypervisor 2.2用户手册]9.5 dump
Imx6 rtl8189ftv migration
mysql的小数number类型select之后丢失了前面的0
Boomi won the "best CEO in diversity" and the "best company in career growth" and ranked among the top 50 in the large company category
c语言---25 扫雷游戏
JZ71 跳台阶扩展问题
Design practice of Netease strictly selecting inventory center
Connect to MySQL using sqldeveloper
1--- electronic physical cognition
如何将exe文件添加到开机启动
“Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0”问题解决
BiSeNet v1