vim plugin management - pathogen

Pathogen is one of many plugin management plugin for vim. 

you can setup vim as below:

mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim


Now to enable vim to use pathogen add to .vimrc: execute pathogen#infect()

Now we can install plugins by just extracting pathogen based plugins to ~/.vim/bundle
To install jedi-vim plugin do below:

git clone --recursive https://github.com/davidhalter/jedi-vim.git ~/.vim/bundle/jedi-vim

Now open python file and place cursor under keyword like "len" and SHIFT + K will open the help window.  You can also type the module . and then it will open auto complete drop down and as you use some function of it shows help.
 

Comments

Popular posts from this blog

Linux Boot Loader

VIM - html and javascript