Just some notes regarding my quest for developing python using vim:
1. Never use anaconda. Most vim plugins will not support it
2. Use virtualenv instead.
3. Install python-mode.
First, run
$ mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Next, edit ~/.vimrc to have:
execute pathogen#infect()
syntax on
filetype plugin indent on
Finally, run
$ cd ~/.vim/bundle && git clone https://github.com/klen/python-mode.git
4. Install ctags.
$ sudo apt-get install ctags
Now I am happy with it for now.
This comment has been removed by the author.
ReplyDelete