Online Linux Terminal Logo
OnlineLinuxTerminal
Éditeurs et shellCLI Manual

$vim

Highly configurable, powerful modal text editor.

Syntaxe de la commandePOSIX Standard
vim [OPTIONS] [FILE...]
Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

Essayer en direct dans le bac à sable interactif

Simulation côté client sans installation avec retour instantané.

Ouvrir dans le terminal plein écran ↗
bash — terminal

Aperçu et fonctionnement

`vim` (Vi IMproved) is an advanced modal text editor built for efficient text editing. It uses distinct modes: Normal mode for navigation, Insert mode (`i`) for typing text, Visual mode (`v`) for selecting blocks, and Command mode (`:`) for file saving and quitting (`:wq`).

Options et drapeaux courants

Flag / OptionDescription
+[num]Start editing file at specified line number.
-RRead-only mode to prevent accidental overwrites.

Exemples pratiques du monde réel

#1Edit configuration in vim
vim welcome.txt

Launches vim editor modal in the sandbox.