当前位置:网站首页>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
边栏推荐
- Leetcode 119. Yang Hui's Triangle II
- 游戏窗口化的逆向分析
- 如何在分面中添加数学表达式标签?
- 【SOC FPGA】Peripheral KEY LED
- Visual Studio 集成Qt开发环境的一些注意事项
- Google engineer "code completion" tool; "Transformers NLP" accompanying book code; FastAPI development template; PyTorch model acceleration tool; cutting-edge papers | ShowMeAI News Daily
- 应用接入华为分析在应用调试模式下为何没有数据上报?
- 探究CSAPP实验二-bomb lab-第一节
- [Developers must see] [push kit] Collection of typical problems of push service 2
- Windows MySQL 安装配置
猜你喜欢
新技术要去做新价值
PyQt5快速开发与实战 9.2 数据库处理
[NCTF2019] Fake XML cookbook-1|XXE vulnerability|XXE information introduction
How to remove first character from php string
Redis 复习计划 - Redis 数据结构和持久化机制
[TypeScript]简介、开发环境搭建、基本类型
详解最实用的几种dll注入方式
Gorilla Mux 和 GORM 的使用方法
Leetcode 119. Yang Hui's Triangle II
3D激光SLAM:LeGO-LOAM论文解读---激光雷达里程计与建图
随机推荐
详解最实用的几种dll注入方式
应用接入华为分析在应用调试模式下为何没有数据上报?
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3
DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计
arcpy tutorial
@Bean注解详解
路遇又一个流量风口,民宿长期向好的逻辑选对了吗
[flutter] What is MaterialApp and Material design
谷歌工程师『代码补全』工具;『Transformers NLP』随书代码;FastAPI开发模板;PyTorch模型加速工具;前沿论文 | ShowMeAI资讯日报
第5章 SQL高级处理
绕开驱动层检测的无痕注入
The case of five little pigs (five little pigs compare the size of the body weight)
深度学习区分不同种类的图片
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
Public Key Retrieval is not allowed error solution
【HMS core】【Media】【Video Editing Service】 The online material cannot be displayed, it is always in the loading state or the network is abnormal
Invalid or corrupt jarfile xxx.jar
静态网页和动态网页的不同之处;该如何选择服务器呢
华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer
Rounding out the most practical way of several DLL injection