Skip to content

Commit 6e99475

Browse files
authored
6298 missing mode in vim docpage (#6346)
* added NORMAL MODE and modified COMMAND MODE * Update vim.md * minor fixes ---------
1 parent 61092a9 commit 6e99475

File tree

1 file changed

+5
-4
lines changed
  • content/command-line/concepts/vim

1 file changed

+5
-4
lines changed

content/command-line/concepts/vim/vim.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ This section describes some important features of the Vim editor.
3131

3232
## Vim Modes
3333

34-
Vim has three modes of operation:
34+
Vim has four modes of operation:
3535

36-
- `COMMAND MODE` : Execute commands like undo, redo, find, replace, quit, etc.
37-
- `INSERT MODE` : Type and edit text.
38-
- `VISUAL MODE` : Highlight, select and edit text.
36+
- `NORMAL MODE` : Used for editor commands like navigation, deletion, and copy-paste. This is the default mode, and pressing <kbd>Esc</kbd> returns to it.
37+
- `COMMAND MODE` : Provides a single line input at the bottom of the Vim window. Commands (beginning with `:`) and some other keys for specific actions (including pattern search and the filter command) activate this mode. On completion of the command, Vim returns to the previous mode.
38+
- `INSERT MODE` : Allows to type and edit text. Entered via `i`, `a`, `o`, etc.
39+
- `VISUAL MODE` : Used for highlighting, selecting, and manipulating text. Sub-modes include character (`v`), line (`V`), and block (`Ctrl+v`) selection.
3940

4041
## Launching Vim
4142

0 commit comments

Comments
 (0)