🧀 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

Just for review: the interactive editor requires practice on a real terminal.

This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.

Full documentation ↗

Related commands