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

相关推荐
不会代码的小猴8 小时前
21. 泛型编程上
开发语言·c++·笔记·算法
摇滚侠10 小时前
《SpringBoot 3:入门与应用实战》第 2 章 IOC 思想与实现 阅读笔记 1
spring boot·笔记·后端
蒸蒸yyyyzwd10 小时前
秋招不熟悉力扣学习笔记1
笔记·学习·leetcode
LuminousCPP12 小时前
数据结构-双向循环链表
c语言·数据结构·笔记·链表
302wanger13 小时前
【阅读笔记】当AI拿走一切之后
笔记
疯狂打码的少年15 小时前
【数据结构】串(字符串):基本概念与存储
数据结构·笔记
Hotchip_MEMS17 小时前
TWS耳机微米级较量:超薄LGA封装如何助力MEMS麦克风小型化?
人工智能·笔记·物联网·电脑
Ztt66666666617 小时前
金泉方壶四面端正,月白釉却把棱角放柔了
经验分享·笔记·其他·百度·微信公众平台
学习和思考17 小时前
非自动化专业如何自学PLC?我的6个月学习路线图
笔记·学习·自动化·学习方法
疯狂打码的少年19 小时前
【数据结构】栈的应用:表达式求值(后缀表达式)
java·数据结构·笔记·算法