Vim User Manual 阅读笔记 usr_20.txt Typing command-line commands quickly 快速键入命令行命令

词汇:Colon 冒号

|20.1| Command line editing

按冒号colon : 或者 / 或者 ? 搜索 ,成为command line模式

<BS> backspace 编辑

<Left> one character left

<Right> one character right

<S-Left> or <C-Left> one word left

<S-Right> or <C-Right> one word right

CTRL-B or <Home> to begin of command line

CTRL-E or <End> to end of command line

Note:

<S-Left> (cursor left key with Shift key pressed)

<C-Left> (cursor left key with Control pressed) will not work on all keyboards. Same

for the other Shift and Control combinations.

DELETING

<BS> deletes the character before the cursor.

To delete a whole word use CTRL-W.

CTRL-U removes all text.

按 Insert 键切入到插入模式,进行混合编辑

按Esc 或者 Ctrl_C,取消命令。少数老版本VI中 Esc 是执行命令,所以用Ctrl-C保险可用。

|20.2| Command line abbreviations 命令缩写

没有什么规律

|20.3| Command line completion

按Tab键,文件名自动补全

按Ctrl - P 上翻

|20.4| Command line history

输入部分,按<Up>或Ctrl-P <Down>或Ctrl-N 翻页查找历史命令

History 命令查看 : 历史命令

History / 命令查看搜索命令 / ? 产生等

|20.5| Command line window

q:
打开Command line窗口,此处可修改历史指令,用Enter执行当前光标位置历史指令,执行完之后指令添加到command line末尾

相关推荐
辰海Coding10 小时前
MiniSpring框架学习笔记-解决循环依赖的简化IoC容器
笔记·学习
晓梦林10 小时前
cp520靶场学习笔记
android·笔记·学习
心中有国也有家11 小时前
cann-recipes-infer:昇腾 NPU 推理的“菜谱集合”
经验分享·笔记·学习·算法
玄米乌龙茶12311 小时前
LLM成长笔记(三):API 开发基础
笔记
Upsy-Daisy11 小时前
AI Agent 项目学习笔记(八):Tool Calling 工具调用机制总览
人工智能·笔记·学习
LuminousCPP13 小时前
数据结构 - 线性表第四篇:C 语言通讯录优化升级全记录(踩坑 + 思考)
c语言·开发语言·数据结构·经验分享·笔记·学习
一只机电自动化菜鸟14 小时前
一建机电备考笔记(40) 建筑机电施工—排水管道施工(含考频+题型)
经验分享·笔记·学习·职场和发展·课程设计
你干嘛?哎哟14 小时前
4月工作笔记
笔记
tom021814 小时前
软考中级《嵌入式系统设计师》全套备考资料(真题 + 教材 + 笔记)
笔记·嵌入式·软考·自学·电子技术·电子资料·变成
问心无愧051316 小时前
ctf show web入门156
笔记