In this paragraph I cover the very basic task:
- Open a File
- Save a File
- Quit Vim
- Move in the Text
- Insert Text
- Delete Text
- Change Text
- Copy & Paste
- Scroll
- Switch to a File
- Search in File
- Search in Files
- Replace in Files
- Undo & Redo
- Repeat
There are
How to quit Vim?
How to save your changes?
Code | Signification |
---|---|
:q! |
Force quit window |
:q |
Quit window |
:w |
Save buffer |
:bd |
Close buffer |
:bd! |
Force close buffer |
- Normal (Esc, Ctrl-[)
- Insert (
i
,A
,c
, ...) - Visual (
v
) - Visual Line (
Shift-v
) - Visual Block (
Ctrl-v
) - Command (
:
) - Replace (
R
)
Insert a State Diagram
Ctrl-^ Equivalent to esc