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

相关推荐
yi0118 小时前
LeetCode 219:存在重复元素 II——哈希表记录“最近一次出现的位置”
数据结构·人工智能·笔记·python·算法·leetcode·哈希表
志尊宝8 小时前
Vue3 零基础每日笔记(073):keep-alive 页面缓存实战——列表页返回不丢状态
vue.js·笔记·缓存·#vue #前端 #前端开发·#javascript·#vue.js
weixin_4481199410 小时前
Datawhale Easy Data × AI:笔记1 已重做,看新的笔记
笔记
要开心吖ZSH11 小时前
MySQL 慢 SQL 排查操作手册-个人笔记版
java·笔记·sql·mysql·慢查询
咖啡忍者12 小时前
【SAP】程制造生产计划PP-PI(Production Planning for Process Industries)
笔记
Titan202413 小时前
MySQL索引学习笔记
笔记·学习·mysql
zhangrelay13 小时前
Arduino-MEGA-ESP单片机理论课笔记02-硬件-2026
笔记·单片机·嵌入式硬件
AOI小白新手上路14 小时前
VDMamba·AutoDL 复现笔记 · 学习笔记
笔记·学习
ACP广源盛1392462567315 小时前
USB3.0 高速信号切换方案评估,LH3412 @ACP双通道差分开关硬件选型笔记
笔记·硬件架构·硬件工程·国产芯片·开关
自不量力的A同学15 小时前
Goldfish Scheme v18.11.39 发布了:迈向现代宏系统与多核并发
笔记