I am moving to vim as my main editor. To customize the environment, there are many plugins that make vim more powerful and easier to use. To start, I will install the plugin manager called pathogen. I will follow the install method detailed there and you should check the site for updates before proceeding.
mkdir -p ~/.vim/autoload ~/.vim/bundle; curl -Sso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
If the above doesn’t work because you don’t have curl installed, that is easy to remedy
sudo apt-get install curl
If you are new to vim and do not have a .vimrc file, create one with vim:
and paste the following lines in a minimal .vimrc file
" Pathogen execute pathogen#infect() call pathogen#helptags() " generate helptags for everything in 'runtimepath' syntax on filetype plugin indent on
Otherwise, make sure these lines are added to your .vimrc file.