当前位置:网站首页>VIM learning manual
VIM learning manual
2022-07-28 19:16:00 【Programming share】
List of articles
vim The pattern of
Naming patterns : You can move the cursor , replicate , Paste and other command operations
Insertion mode : You can write
Bottom line mode : Carry out corresponding operations in the bottom line
vim Use
Just entered vim When it comes to command mode . You will find that pressing any key is useless ( Maybe you can edit it by pressing the key )
Then press what key to edit ( Insertion mode ) Well ?
i: Insert... From the current position of the cursor
a: Insert
o: Insert... From the next line under the cursor
After entering the insert mode, you can write . After writing , Press Esc key ( In the upper left corner of the keyboard ) Enter command mode .
If you want to quit , Press Shift Add : Enter bottom line mode , Then press wq Save to exit .
Here are some operations of the bottom line mode :
q: sign out , add ! For forced exit
w: write in , add ! Is forced to write
! command : Do not exit vim Carry out relevant operations
set nu/nonu: Show / Cancel the line Numbers 
vs file name : Split screen operation 
The following describes some operations in command mode
yy: Copy ,nyy From the current line to n Row copy .
dd: Clip ,ndd From the current line to n Line clipping .
p: Paste ,np How many times to paste .
u: revoke .
Shift g: Position the cursor at the end of the file .
gg: The beginning of the document .
n Shift g: File first n The beginning of the line .
$: The end of the current line .
^: The beginning of the current line .
b,w: In the form of words , Move back and forth .
h,j,k,l: Left , Next , On , Right Move the cursor .
~: Case Toggle .
Shift r: Replace mode , Directly cover the original .
x: Delete character at cursor position
X(Shift x): Delete the character in the previous position of the cursor
边栏推荐
- cv5200无线WiFi通信模块,视频图像传输无线化,实时无线通信技术
- If you want to change to it, does it really matter if you don't have a major?
- Is the prospect of software testing dead? Has it entered the cold winter?
- How to write a JMeter script common to the test team
- How does the mqtt server built with emqx forward data and save it to the cloud database?
- Youqilin system installation beyondcomare
- Interpretation of ue4.25 slate source code
- [GXYCTF2019]StrongestMind
- Can zero basis software testing work?
- Two month software testing training scam? How to choose training institutions?
猜你喜欢

C language (high-level) character function and string function + Exercise

现代化个人博客系统 ModStartBlog v5.4.0 登录界面改版,新增联系方式
![[data analysis] realize SVDD decision boundary visualization based on MATLAB](/img/3b/72bb459a357f836b52aa79171d75fc.png)
[data analysis] realize SVDD decision boundary visualization based on MATLAB

As for the white box test, you have to be skillful in these skills~

4、 Interface requests data to update input information interactively

New progress in the implementation of the industry | the openatom openharmony sub forum of the 2022 open atom global open source summit was successfully held

Interpretation of ue4.25 slate source code

2022年最火的十大测试工具,你掌握了几个

When the new version of easycvr is linked at the same level, the subordinate platform passes up the cause analysis of the incomplete display of the hierarchical directory

Qt: 一个SIGNAL绑定多个SLOT
随机推荐
DevCon. Exe export output to the specified file
Introduction and advanced level of MySQL (I)
Xiaobai must see the development route of software testing
DevCon.exe 导出output至指定文件
The wechat installation package has expanded 575 times in 11 years, and the up owner: "98% of the documents are garbage"; Apple App store was exposed to a large number of pornographic apps; Four techn
【物理应用】大气吸收损耗附matlab代码
Kotlin:sealed Class detailed explanation of sealed class
架构实战营第8模块作业
Is software testing really as good as online?
2022年暑假ACM热身练习3(详细)
Fundamentals of software testing and development | practical development of several tools in testing and development
How to adjust the brightness of win11? Four methods of adjusting screen brightness in win11
New progress in the implementation of the industry | the openatom openharmony sub forum of the 2022 open atom global open source summit was successfully held
Win11系统svchost.exe一直在下载怎么办?
真正的 HTAP 对用户和开发者意味着什么?
Can the training software test be employed
服务器正文21:不同编译器对预编译的处理(简单介绍msvc和gcc)
Easynlp Chinese text and image generation model takes you to become an artist in seconds
When the new version of easycvr is linked at the same level, the subordinate platform passes up the cause analysis of the incomplete display of the hierarchical directory
Three minutes to understand, come to new media