当前位置:网站首页>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
边栏推荐
- Public Key Retrieval is not allowed error solution
- 完美绕开CRC32检测的无痕hook
- 【HMS core】【Media】【Video Editing Service】 The online material cannot be displayed, it is always in the loading state or the network is abnormal
- [HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3
- How to connect redis in node.js?
- 【HMS core】【FAQ】A collection of typical questions about Account, IAP, Location Kit and HarmonyOS 1
- 3D激光SLAM:LeGO-LOAM论文解读---系统概述部分
- Qt 容器控件之Tab Widget 使用详解
- 华为云数据治理生产线DataArts,让“数据‘慧’说话”
- 加密生活,Web3 项目合伙人的一天
猜你喜欢

PMP每日一练 | 考试不迷路-7.30(包含敏捷+多选)

3D激光SLAM:LeGO-LOAM论文解读---系统概述部分
![[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3](/img/7a/e7447b21421f3052c0b6c44d1c2817.png)
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3

Image information extraction DEM

你是一流的输家,你因此成为一流的赢家

华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer

DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计

Scheduling_Channel_Access_Based_on_Target_Wake_Time_Mechanism_in_802.11ax_WLANs

Visual Studio 集成Qt开发环境的一些注意事项

安全业务收入增速超70% 三六零筑牢数字安全龙头
随机推荐
【SOC FPGA】Peripheral KEY LED
AL遮天传 DL-深度学习模型的训练技巧
华为云WeLink携手伙伴,共建协同办公生态
Leetcode 119. 杨辉三角 II
围绕用户思维,木鸟与途家如何实现乡村民宿下的用户运营
Minio 入门
如何写一份高可读性的软件工程设计文档
如何注册域名、备案以及解析
Nervegrowold d2l (7) kaggle housing forecast model, numerical stability and the initialization and activation function
如何在分面中添加数学表达式标签?
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
登录模块调试-软件调试入门
(1) Cloud computing technology learning - virtualized vSphere learning
Leetcode 118. Yanghui Triangle
Qt 容器控件之Tab Widget 使用详解
04、Activity的基本使用
Gorilla Mux 和 GORM 的使用方法
Qt 容器控件Tool Box 使用详解
Horizontal Pod Autoscaler(HPA)
PHP留言反馈管理系统源码