当前位置:网站首页>Gvim order record
Gvim order record
2022-07-30 16:35:00 【ohuo666】
- :ab xxx xxxxxx Enter this command in the bottom line command mode to replace xxxxxx with xxx, as long as you enter xxx when editing, it will be automatically replaced with xxxxxx This command can also be placed in the vimrc configuration file
- cc : modify the current line
- c$ : modify the content to the end of the line
- ndd : delete n lines
- dw : the cursor is placed on the first letter of the word, enter dw to delete a word, if it is not placed on the first letter, it will not be deleted
- d$ : delete all characters from the cursor to the end of the line
- dG : delete the current line to the last line
- ddp: swap the upper and lower lines
- :e ctrl+d to view the files in the current directory
- :ctrl+d to view optional commands
- ctrl+p or ctrl+n character auto-completion
- :f View the current file name
- gf Press gf on the file name with the path to jump to the file and press ctrl+o to jump back to the previous file or the bottom line command :bd :bn :b1 to jump back to the previous file li>
- p: paste after cursor
- P : Paste before cursor
- r : replace a single character
- Shift+* : Search back the word where the cursor is located
- Shift+#: Go forward to find the word where the cursor is located
- R : Consecutive replacement characters
- :set nu : bottom line command mode set line number
- :set nonu : the bottom line command mode cancels the line number
- :set ic : bottom line command mode ignore case
- :set noic : Bottom line command mode cancel ignore case
- :set ic? The bottom line command mode is added after the command?You can check if this command is set
- :set wrap : bottom line command mode wrap display
- :set nowrap : no wrap display in bottom line command mode
- :sort :bottom line command mode sort
- u : Undo
- Ctrl r: redo command
- Ctrl + v to select the string, then press U to replace lowercase letters with uppercase letters, and u to replace uppercase letters with lowercase letters
- Ctrl+v vertical selection mode, shift+i add certain strings before the vertical selection line
- x : delete a single character
- :X : Enter a capital X in the bottom line command mode and then you can set password encryption
- :enter key=xxx : The bottom line command mode set the password to xxx
- :enter key= The bottom line of the command mode is decrypted without adding anything after the equal sign
- yw : copy the word under the cursor
- y$ : copy the character from the cursor to the end of the line
- yy : copy the current line
- nyy : copy current n lines
- %s/abc/123/g : Replace all abc with 123 If %s/abc/123/ does not add g, only the beginning of the line can be replaced You can also replace % with 5, $ means in the 5th to the last lineMake Action Substitution
- /string : search string later
- /string1\|string2 : Also search string1 string2
- /+Up and down arrows: search history
- : + up and down arrows : history of commands
- ?sting : search forward for string
- n : find next use with the above /string N: find previous
边栏推荐
- PMP每日一练 | 考试不迷路-7.30(包含敏捷+多选)
- 3D激光SLAM:LeGO-LOAM论文解读---特征提取部分
- DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
- vivo announced to extend the product warranty period, the system launched a variety of functional services
- Large-scale integrated office management system source code (OA+HR+CRM) source code sharing for free
- 【SOC FPGA】外设KEY点LED
- 【HMS core】【FAQ】push kit, WisePlay DRM, Location Kit, Health Kit, 3D Modeling Kit, SignPal Kit Typical Questions Collection 4
- [TypeScript]简介、开发环境搭建、基本类型
- Windows MySQL 安装配置
- 【AGC】质量服务1-崩溃服务示例
猜你喜欢

PCIE入门

win下搭建php环境的方法

Wuhan Star Sets Sail: Overseas warehouse infrastructure has become a major tool for cross-border e-commerce companies to go overseas

武汉星起航跨境电商有前景吗?亚马逊的未来趋势如何发展?

论文阅读 (63):Get To The Point: Summarization with Pointer-Generator Networks

JVM学习----垃圾回收

PCIE下载的驱动安装
![[NCTF2019] Fake XML cookbook-1|XXE vulnerability|XXE information introduction](/img/29/92b9d52d17a203b8bdead3eb2c902e.png)
[NCTF2019] Fake XML cookbook-1|XXE vulnerability|XXE information introduction

onenote使用

04、Activity的基本使用
随机推荐
Placement Rules usage documentation
Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
The service already exists!解决办法
Nervegrowold d2l (7) kaggle housing forecast model, numerical stability and the initialization and activation function
【C语言】指针和数组的深入理解(第二期)
加密生活,Web3 项目合伙人的一天
【SOC】经典输出hello world
李沐d2l(七)kaggle房价预测+数值稳定性+模型初始化和激活函数
How to remove first character from php string
在 Chrome 浏览器中安装 JSON 显示插件
【AGC】质量服务1-崩溃服务示例
node.js中怎么连接redis?
【HMS core】【FAQ】push kit, WisePlay DRM, Location Kit, Health Kit, 3D Modeling Kit, SignPal Kit Typical Questions Collection 4
游戏显示分辨率的逆向分析
云风:不加班、不炫技,把复杂的问题简单化
【HMS core】【Media】【视频编辑服务】 在线素材无法展示,一直Loading状态或是网络异常
Minio 入门
Overview of TiDB Tool Functions
函数调用方式_stdcall 、 _cdecl 、_thiscall
Leetcode 118. 杨辉三角