Home How to set up VIM as an IDE
Post
Cancel

How to set up VIM as an IDE

Vim is a highly configurable text editor for efficiently creating and changing any kind of text. It is included as “vi” with most UNIX systems and with Apple OS X.

Vim IDE

Vim is the go to text editor for most developers due to the fact that it is light weight and is compatible with almost all computing platforms (there is a version for windows)

Steps in setting up vim

  • To install vim on Ubuntu or any other system that user apt package manager simply enter the following command:
    1
    
    sudo apt-get install vim
    
  • Once vim is installed head over to github and download the .vimrc file
  • Copy the .vimrc file to your home directory. (use cd command and hit enter to navigate to your home directory)
  • Run the following command to install vundle which is a plugin manager for vim (Vundle stands for vim bundle)
    1
    
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
  • Once vundle installation is complete open vim on the command line using the vim command
  • Now to install the plugins referenced in the .vimrc file you need to run the PluginInstall command (press esc to enter command mode in vim the press “:” and type PluginInstall). Installing all the plugins will take a few moments
  • After installing the plugins, exit vim (use esc the :q to quit)
  • Open vim once again and all the plugins should be installed. To open the file tree use ctrl+T

special credit goes to Sebastian Karlsson, he is the owner of the vimrc file used here, you can get his .vimrc file here

This post is licensed under CC BY 4.0 by the author.