当前位置:网站首页>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
边栏推荐
猜你喜欢

3D激光SLAM:LeGO-LOAM论文解读---系统概述部分
![[TypeScript]简介、开发环境搭建、基本类型](/img/d7/b3175ab538906ac1b658a9f361ba44.png)
[TypeScript]简介、开发环境搭建、基本类型

探究CSAPP实验二-bomb lab-第一节
![[Developers must see] [push kit] Collection of typical problems of push service 2](/img/70/d5127d57d2f3532deb7314d737820b.png)
[Developers must see] [push kit] Collection of typical problems of push service 2

【C语言】指针和数组的深入理解(第二期)

Public Key Retrieval is not allowed error solution

Jetpack Compose 到底优秀在哪里?| 开发者说·DTalk

函数调用方式_stdcall 、 _cdecl 、_thiscall

【SOC FPGA】Peripheral KEY LED

Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
随机推荐
第5章 SQL高级处理
hcip--ospf综合实验
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
How to implement timing tasks for distributed applications in Golang
探究CSAPP实验二-bomb lab-第一节
Horizontal Pod Autoscaler(HPA)
【HMS core】【FAQ】push kit、分析服务、视频编辑服务典型问题合集3
The case of five little pigs (five little pigs compare the size of the body weight)
MySql 和 PostgreSQL 数据库 根据一张表update另一张表数据
基于STM32F407使用ADC采集电压实验
应用OPC解决方案实现控制系统数据的安全交换
Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
【AGC】质量服务2-性能管理示例
vivo announced to extend the product warranty period, the system launched a variety of functional services
UI测试新方法:视觉感知测试详解
初识二叉搜索树
【C语言】指针和数组的深入理解(第二期)
论文阅读 (63):Get To The Point: Summarization with Pointer-Generator Networks
@Bean注解详解
lotus 1.16.0 最小快照导出 导入