Differences between revisions 14 and 15
Revision 14 as of 2009-02-07 21:50:14
Size: 1840
Editor: Zikzag
Comment:
Revision 15 as of 2009-02-07 22:11:29
Size: 1210
Editor: FranklinPiat
Comment: Don't duplicate pacakges.debian.org here. (was nice though ;)
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

||<-3 tablestyle="float:right; width:200pt; background:transparent; margin: 0 0 1em 1em; background-color:#ffffff; font-size: smaller"> inline:vim_logo.png ||
||Author: || [http://www.vim.org vim Team] || ||
||License: || '''Charityware''' / GPL || (./) ||
||<-3 style="border-top:2pt; height:0pt; background-color:#dddddd; padding:0;margin:0">||
||<-3>'''quality:'''||
||<-3> Version reviewed: 7.1.314 ||
||Download || unsigned APT || (./) ||
||Source: || available || (./) ||
||Architectures: ||all || (./) ||
||<-3 style="border-top:2pt; height:0pt; background-color:#dddddd; "> Legend: (./) = Pass ; X-( = Bad ||

[:DebianWiki/EditorGuide#translation:Translation(s)]: [:fr/vim:Français]

(!) [:/Discussion:Discussion]


Vim is a full-featured editor. It is basically a clone of vi with a lot of features.

Vim is a modal editor: in different modes of vim, the same keystroke is interpreted differently.

Small tips to survive in Vim

To insert text (and be in the insert mode): press 'i' then edit your text. To come back to the command mode press "ESC".

To save text (in command mode): press ':w'

To quit vim (in command mode): press ':q'

To quit vim without saving (in command mode): press ':q!'

To delete the line where the cursor is (in command mode): press 'dd'

  • {i} If you want to learn more try the command 'vimtutor'. For help type ':help' or press 'F1'.

Other text editors

You can use a [wiki:GUI GUI] version called gvim.

If you don't know anything about vi, it is better to use nano.

See Also