当前位置:网站首页>Common instructions of vim software
Common instructions of vim software
2022-07-28 20:19:00 【Guanglongyu】
1. vim Last line mode command
- :w preservation
- :wq Save and exit
- :x Save and exit
- :q! Forced exit
2. vim Common commands
command | explain |
---|---|
yy | Copy the line where the cursor is |
p | Paste |
dd | Delete / Cut the current line |
V | Select by row |
u | revoke |
ctr+r | Counter cancellation |
>> | Indent right |
<< | Indent left |
:/ Search content | Search for specified content |
:%s/ What to replace / Content after replacement /g | Global replacement |
: Start with lines , Number of end lines s/ What to replace / Content after replacement | Local substitution |
. | Repeat the last command operation |
G | Back to the last line |
gg | Back to the first line |
Numbers +G | Go back to the specified line |
shift+6 | Go back to the beginning of the current line |
shift+4 | Return to the end of the current line |
ctr+f | Next screen |
ctr+b | The last screen |
边栏推荐
- DSACTF7月re
- WPF -- implement websocket server
- 1. C language variable type, global variable, local variable
- 私有化部署的即时通讯平台,为企业移动业务安全保驾护航
- Usage of const and assert
- Raspberry pie creation self start service
- Find the memory occupied by the structure
- WPF--实现WebSocket服务端
- How can Plato obtain premium income through elephant swap in a bear market?
- JVM(二十四) -- 性能监控与调优(五) -- 分析GC日志
猜你喜欢
Saltstack advanced
【CodeForces】Educational Codeforces Round 132 (Rated for Div. 2)
Communication learning static routing across regional networks
9. Pointer of C language (4) pointer and one-dimensional array, pointer operation
Kubeedge releases white paper on cloud native edge computing threat model and security protection technology
zfoo增加类似于mydog的路由
[C language] summary of methods for solving the greatest common divisor
The results of the second quarter online moving people selection of "China Internet · moving 2022" were announced
JVM(二十四) -- 性能监控与调优(五) -- 分析GC日志
Maximum exchange [greedy thought & monotonic stack implementation]
随机推荐
C language - data storage
Digital filter design matlab
9. Pointer of C language (2) wild pointer, what is wild pointer, and the disadvantages of wild pointer
Why is customer support important to SaaS?
User, user group related operations
长轮询,iframe和sse三种web消息实时推送demo实践
C+ + core programming
Implementation of strcat in C language
XOR operation and its usage
通配符 SSL/TLS 证书
跨区域网络的通信学习静态路由
Hebei: stabilizing grain and expanding beans to help grain and oil production improve quality and efficiency
1、 Relationship among CPU, memory and hard disk
Basic mathematical knowledge (update)
3、 Are formal and actual parameters in a programming language variables?
Circular linked list OJ question
为什么客户支持对SaaS公司很重要?
Intermediate soft test (system integration project management engineer) high frequency test site
[C language] comprehensively analyze the pointer and sort out the pointer knowledge points
Find the memory occupied by the structure