🧀 Learn Linux

Commonly used · Reading and processing text

vim:Edit files in terminal

Syntax

vim file

Options

i
Enter insert mode
Esc
Return to normal mode
wq:Save and exit
q!: Abandon modification and exit

Examples

vim /etc/app.conf

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands