mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[vim/en] Replace Command Mode with Normal Mode (#4563)
This commit is contained in:
parent
0659b70da6
commit
05399fe6cc
@ -98,17 +98,17 @@ that aims to make getting started with vim more approachable!
|
|||||||
|
|
||||||
Vim is based on the concept on **modes**.
|
Vim is based on the concept on **modes**.
|
||||||
|
|
||||||
- Command Mode - vim starts up in this mode, used to navigate and write commands
|
- Normal Mode - vim starts up in this mode, used to navigate and write commands
|
||||||
- Insert Mode - used to make changes in your file
|
- Insert Mode - used to make changes in your file
|
||||||
- Visual Mode - used to highlight text and do operations to them
|
- Visual Mode - used to highlight text and do operations to them
|
||||||
- Ex Mode - used to drop down to the bottom with the ':' prompt to enter commands
|
- Ex Mode - used to drop down to the bottom with the ':' prompt to enter commands
|
||||||
|
|
||||||
```
|
```
|
||||||
i # Puts vim into insert mode, before the cursor position
|
i # Puts vim into insert mode, before the cursor position
|
||||||
a # Puts vim into insert mode, after the cursor position
|
a # Puts vim into insert mode, after the cursor position
|
||||||
v # Puts vim into visual mode
|
v # Puts vim into visual mode
|
||||||
: # Puts vim into ex mode
|
: # Puts vim into ex mode
|
||||||
<esc> # 'Escapes' from whichever mode you're in, into Command mode
|
<esc> # 'Escapes' from whichever mode you're in, into Normal mode
|
||||||
|
|
||||||
# Copying and pasting text
|
# Copying and pasting text
|
||||||
# Operations use the vim register by default
|
# Operations use the vim register by default
|
||||||
|
Loading…
Reference in New Issue
Block a user