A vim config to make a awesome python IDE, currently just support for Ubuntu. Includes below plugins:
- pathogen
- mustang-vim
- supertab
- vim-colors-solarized
- vim-powerline
- vim-surround
- ctrlp.vim
- nerdtree
- tagbar
- vim-easymotion
- vim-puppet
- indentLine
- python-mode
- toggle_comment
- vim-fugitive
- vim-python-pep8-indent
- vim-autoclose
- vim-nerdtree-tabs
- vim-ragtag
How to install:
cd ~
git clone git://github.com/gtt116/vimrc
cd vimrc
./install.sh
done
- Default colorschema is solarized-light (vim-colors-solarized)
- saving file automatic run pep8 checking
- automatic set tab to 4 space when editing *.py
- automatic set tab to 2 space when editing *.html, css, js
- automatic syntax hightlight for *.py, *.html *.html(django template), *.css, *.js, *.pp(puppet)
In vim view mode,
Please using hjkl to move cursor
-
using up to enlarge window
-
using down to shrink window
-
using , + n + t to toggle nerdtree
-
using , + t + b to toggle tabbar
-
using , + g jump to definition of function/class/variable
-
using , + t to create a new tab
-
using g + t to move to next tab
-
using g + T to move to pre tab
-
using [ctrl] + H/J/K/L to move through windows
-
using q to toggle line comment
-
using [ctrl] + p openup ctrlp menu
-
using , + l to load cscope databse into CCtree.
-
using > to open CCTree Forword Call Tree.
-
using < to open CCTree Reverse Call Tree.
-
using [ to decrease depth of tree.
-
using ] to increase depth of tree.