Vi Editing Mode
What to Type | Result |
a | append after the cursor |
i | insert before the cursor |
I | Text inserted at beginning of line |
A | Text inserted at end of line |
R | Text overwrites existing text |
What to Type | Result |
x | deletes the character the cursor is under |
dd | deletes the line the cursor is on |
D | Equivalent to d$ (delete to end of line) |
dd | Equivalent to 0d$ (delete entire line) |
C | Equivalent to c$ (delete to end of line, enter input mode) |
cc | Equivalent to 0c$ (delete entire line, enter input mode) |
X | Equivalent to dh (delete character backwards) |
x | Equivalent to dl (delete character forwards) |
What to Type | Result |
j | moves the cursor up one line |
k | moves the cursor down one line |
h | moves the cursor backwards on a line |
l | moves the cursor forward on a line |
What to Type | Result |
:wq | saves the current changes and exits vi |
:w! | saves the current changes but does not exit vi |
:q! | exits vi without saving any change |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7899089/viewspace-735085/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Bash 設定 vi mode
- UITabView 編輯 EditingUIView
- 深度學習《Photo Editing》深度學習
- BZOJ1330 : Editing a Book
- vi命令
- vi editor
- VI 命令
- The Efficacy of Human Post-Editing for Language Translation(1)
- The Efficacy of Human Post-Editing for Language Translation(2)
- SAP editing function is activated to modiy table content.Function
- Window mode
- consistent mode和current mode的區別
- vi(vim)命令
- vi 命令 用法
- vi常用操作
- 常用VI命令
- vi命令用法
- UNIX VI命令
- Docker Swarm modeDockerSwarm
- oracle time modeOracle
- javascript strict modeJavaScript
- TM LOCK MODE
- sql_modeSQL
- Windws XP Mode
- Dataguard mode switch
- 更改Archive ModeHive
- Undo Mode (30)
- Fixed "There was a problem with the editor 'vi'"
- VI命令彙總
- Vi命令實踐
- set -o vi 命令
- vi 命令專題
- Vi命令總結
- vi命令詳解
- vi替換命令
- ftp命令 binary mode與ascii mode的區別FTPASCII
- MySQL Strict SQL MODEMySql
- IDBTransaction.mode