Installing and Configure vim Plugin in Ubuntu
There are several plugin managers like Vundle, Pathogen, Vim-plug, VAM which are used to install vim plugin, These plugin increase speed, productivity, and look and feel of vim text-editor but here we will use the Pathogen plugin manager.
Prerequisites : VIM editor
This is the command to install vim editor in the ubuntu.
sudo apt-get install vim
Plugin Manager Installation: To install vim plugin you need to make to directories autoload and bundle inside .vim directory and curl pathogen.vim to autoload.
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Note: If the curl is not installed on your system, then use the below command:
$ sudo apt-get install curl
After running these commands make vimrc file inside .vim file in the home directory. The contents of minimal .vimrc is given below. Now, .vim directory will look like this.

Configure vimrc file: This is super-minimal code just to activate pathogen.
execute pathogen#infect() syntax on filetype plugin indent on
Installing Plugin: To install any plugins you like to install just clone it form git to a subdirectory under ~/.vim/bundle, and they will be added to the ‘runtimepath’.
cd ~/.vim/bundle && \ git clone [repository-url]


Recommended Posts:
- Get to know Ubuntu 18.04 LTS | Welcome Bionic Beaver!!
- Interesting Facts about Ubuntu
- How to setup cron jobs in Ubuntu
- Creating custom domain name instead of localhost in Ubuntu
- Creating and Configuring Wi-Fi Hotspot in Ubuntu
- How to change login screen background in Ubuntu
- Configuring and Accessing Google Drive Account in Ubuntu
- How to speed up the downloading of packages using apt-fast in Ubuntu?
- How to Install Chrome in Ubuntu?
- Configuring Face Unlock in Ubuntu | Howdy
- Configure Passwordless Sudo For A Specific User in Linux
- How to Install and Configure Docker in Ubuntu?
- How to Install and Configure Fish Shell in Ubuntu?
- Making an Alias to Shutdown Ubuntu
- Keyboard Shortcuts for Ubuntu | Set - 1
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



