Friday, September 30, 2011

Vim configuration

To use vim, you should install vim package:
sudo apt-get install vim

If you prefer to use GUI based vim, you should install vim-gnome package:
sudo apt-get install vim-gnome

vim is a highly configurable editor. A list of files and their locations are given below.

  • ~/.vimrc is the vim configuration file which vim reads on startup
  • ~/.gvimrc is the gvim configuration file which gvim reads on startup. It's best to keep only gui specific settings here, as it will take preference over the settings in your .vimrc file.
  • ~/.vim/ is the directory in which the user can add utility plugins, syntax highlighting plugins, and indent plugins.

No comments:

Post a Comment