当前位置:网站首页>VIM common commands
VIM common commands
2022-06-22 03:29:00 【Fenghua Langlang】
VIM
I have been working for five years , Although I have been using , But it is used superficially , Search for keywords 、 Jump to home page 、 Closing page 、 Insert etc. , There are too many other commands that don't seem to be used , But now we use another part , Let's sum it up , Leave a library to find .
One 、 Save the file
| :q | sign out |
|---|---|
| :wq | Save and exit |
| :q! | Do not save and exit |
| :w | preservation |
| :w! | Forcibly preserve |
| :wq! | Force save and exit | |
Two 、 Jump
vim Jump to the first and last line in the
last line node
:0 or :1 Skip to the first line of the file
:$ Skip to the last line of the file
Command mode
gg Jump to the first row
#G: Jump to # That's ok
shift+g Skip to the last line of the file
+#: Downward # That's ok
The delete command : d
d Command is used in combination with jump command #dw, #de, #db
dd: Delete the current cursor line
#dd: Delete the line including the current cursor # That's ok ;
边栏推荐
- 指定它为网关,它就成为网关了么
- TX2 attaching SD card, jtop
- Deep learning final review
- 2022.6.21-----leetcode. one thousand one hundred and eight
- On the auto increment of int type primary key in MySQL
- Opencv installation (x86/tx2 cuda/ shared library)
- 【leetcode周赛总结】LeetCode第298场周赛总结(6.19)
- opencv安装(x86/tx2 cuda/共享库)
- tx2镜像源设置
- Fastdfs5.0.11 installation
猜你喜欢

A component required a bean of type 'com.example.demo3.service.UserServiceImp' that could not be fou

什么是SSL证书,拥有一个SSL证书有什么好处?

Understand virtual memory from the root
![[summary of leetcode weekly competition] summary of the 298th weekly competition of leetcode (6.19)](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[summary of leetcode weekly competition] summary of the 298th weekly competition of leetcode (6.19)

3de 移动物体的位置

Wxml template syntax, wxss template style, global configuration, page configuration, and network data request

高考后网上查询信息,注意防范没有 SSL证书的网站

CMD view the console output of hearts, diamonds, spades and clubs to solve the garbled code

Redis configuration and optimization

rabbmitMQ 简单模式<一>
随机推荐
2022.6.21-----leetcode.1108
std::make_shared特点
Modèle stratégique
AtCoder Regular Contest 142
golang并发编程之Mutex互斥锁实现同步和原子操作(atomic)
What is an SSL certificate and what are the benefits of having an SSL certificate?
利用yolov5训练自己的数据集; yolov5的安装与使用 ; yolov5源码解读
2022.6.21-----leetcode. one thousand one hundred and eight
Atcoder beginer contest 252 (Dijkstra, reverse thinking)
Usage of tail
Why is setinterval so easy to get stuck in the high and low level
ASUS reinstallation system keyboard lamp failure = & gt; Refitting the ATK drive
华硕重装系统键盘灯失效 =>重装ATK驱动
Wechat applet onpagescroll is invalid
【leetcode周赛总结】LeetCode第298场周赛总结(6.19)
mysql-索引创建、优化分析、索引优化
【NVMe2.0b 12】NVM 容量模型
为什么程序员写的第一个程序是“Hello World!”
Simple introduction to thoroughly understand anti shake and throttling
Understand virtual memory from the root