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

相关推荐
琳少_11 小时前
java程序开发笔记
java·开发语言·数据库·笔记
Z21-X15 小时前
云原生运维学习笔记:Kubernetes Volume 与 Secret 实验
运维·笔记·学习·云原生·kubernetes
一只大鸽子15 小时前
游戏开发笔记7-Godot RPG游戏基础-场景切换、全局脚本
笔记·游戏·godot
ScilogyHunter19 小时前
[14] TMS570LC4357_VIM向量中断:128 通道、双 VIM 与硬件向量分发
单片机·编辑器·vim·excel·hercules·tms570
吃我一窝jio19 小时前
Docker+Jenkins+K8s全流程部署
java·开发语言·笔记·python
我超膨胀der.19 小时前
关于如何完整转移LABVIEW源码
笔记·labview
国科安芯20 小时前
FPGA上电偶发不启动:多轨电源时序、PGOOD与并联供电的FAE排查笔记——ASP4644S2B在星载智能处理板中的工程应用分析
笔记·单片机·嵌入式硬件·fpga开发·低轨卫星·抗辐射
一条破秋裤2 天前
【1115】【多线程】【笔记】
前端·chrome·笔记
神明不懂浪漫2 天前
【第八章】多线程(一)
java·开发语言·经验分享·笔记