From ArchWiki
Revision as of 06:41, 2 December 2007 by Beissemj (talk | contribs)
Jump to navigation Jump to search

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n links end

Vim (Vi I'MProved), is a text editor derived from Vi. It's notoriously known for its steep learning curve, and user unfriendly interface. However, because of it's efficiently, variety of plugins, and customization options vim and is one of the most popular text editors for programmers and *nix users (along with Emacs). A graphical version gVim which provides a user with menus is also available.


  • vim depends on vi, so that must be installed first. However, since vi is part of the base installation most users should already have it.
pacman -S vim


vim's configuation file is in a user's home directy (~/) and is named .vimrc. A sample .vimrc can be found in /etc/vimrc.

set nocompatible set showmatch set incsearch set ignorecase set smartcase set history=100 set backspace=eol,start,indent set ruler set tabstop=4 set shiftwidth=4 set expandtab set virtualedit=all set background=dark set vb t_vg= set mouse=v set textwidth=79 set formatoptions=tcrq

  • To install gvim (Just like vim but with gtk2 interface and listens to /etc/gvimrc and ~/.gvimrc)
pacman -S gvim
  • There is also a group of selected popular vim scripts available via pacman
pacman -S vim-plugins

External links