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末尾

相关推荐
RainCity4 天前
Java Swing 自定义组件库分享(十二)
java·笔记·后端
LinXunFeng12 天前
Obsidian - 使用 Share Note 分享笔记并自部署
前端·笔记·github
VidDown16 天前
VidDown 工具站:免费、本地优先的开发者工具箱
javascript·编辑器·音视频·视频编解码·视频
闪闪发亮的小星星16 天前
高斯光以及高斯光公式解释
笔记
cqbzcsq16 天前
CellFlow虚拟细胞论文阅读
论文阅读·人工智能·笔记·学习·生物信息
VidDown16 天前
显卡处理视频技术详解:从硬解码到 NVENC,GPU 如何让视频处理起飞?
javascript·编辑器·音视频·视频编解码·视频
阿米亚波16 天前
【Windows】QEMU 启动 openEuler aarch64/arm64 架构系统 + 离线软件源
linux·windows·经验分享·笔记·架构·arm
自传.16 天前
尚硅谷 Vibe Coding|第三章(1) Claude Code深度使用与进阶技巧 学习笔记
笔记·学习·尚硅谷·vibecoding
.千余16 天前
【C++】模板进阶全解:非类型参数|全特化|偏特化|分离编译完全指南
开发语言·c++·笔记·学习·其他
自传.16 天前
尚硅谷 Vibe Coding|第二章 AI编程工具生态 学习笔记
笔记·学习·ai编程·尚硅谷·vibe coding