Vim

From AdminWiki

Revision as of 21:13, 23 May 2006 by Ch (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

VI Improved is a common derivate of the default editor on Unix-like systems. Usually, $EDITOR is also set to vi or vim.

Package Names

vi is everywhere, but vim is not.

Minimalistic Configuration

A quick configuration which you can use to get basic stuff like syntax coloring, ready made to past into your .vimrc:

set nocompatible
syntax on
filetype plugin indent on
set hlsearch
set history=50
set showmode
set showcmd

cabbrev Wq wq
cabbrev W w

colorscheme desert

The desert colorscheme will let you read comments (which are normally dark-blue) also on wrong-configured terminals and looks pretty good elsewhere too.

Personal tools