Vim

From Netsoc Wiki
Jump to: navigation, search

so like vim yeah...

Possibly the most popular text editor installed on Netsoc machines. Vim, short for "Vi IMproved" is, as the name implied, an improved version of the vi editor. In the tradition of vi, vim is explicitly modal; the user switches the editor between insert and command modes. To open a file in vim, type vim <filename> on the command line.

How to use vim is far beyond the scope of this article; typing ":help" in command mode (which vim opens in) will open the help file.

But really, vim is a pretty gg text editor. It will seem daunting at first, but when you get into it, it's a really really powerful text editor. Vi is even part of the standard Unix specification, so you'll likely find it in some form or another on most machines you use (yes, even Mac OS X!).


Resources

In order of assumed knowledge, from rank beginner to power-user: