1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-05 06:17:36 +02:00

[vim/en] Replace Command Mode with Normal Mode (#4563)

This commit is contained in:
Conor Flynn
2024-05-13 10:08:49 +02:00
committed by GitHub
parent 0659b70da6
commit 05399fe6cc

View File

@@ -98,17 +98,17 @@ that aims to make getting started with vim more approachable!
Vim is based on the concept on **modes**.
- Command Mode - vim starts up in this mode, used to navigate and write commands
- Insert Mode - used to make changes in your file
- 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
- Normal Mode - vim starts up in this mode, used to navigate and write commands
- Insert Mode - used to make changes in your file
- 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
```
i # Puts vim into insert mode, before the cursor position
a # Puts vim into insert mode, after the cursor position
v # Puts vim into visual 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
# Operations use the vim register by default