This is my VIM stuff
Vundle repository has instructions for installing Vundle.
As of this writing, the command is:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
sudo apt-get install exuberant-ctags
Optionally, if you would like to use tmux:
sudo apt-get install tmux
Alias on ZSH for starting tmux with 256bit color:
alias tmux='tmux -2'
If it still looks weird in TMUX, in your session do:
export TERM=screen-256color
This will install Python PEP8 and syntax checker, compatible with Syntastic:
sudo pip install pyflake8
- Clone this repository
- Change vimrc file into your .vimrc in your home directory
cp vimrc ~/.vimrc
- Install the VIM setup
vim +PluginInstall +qall
- Launch VIM
vim
Command | Effect |
---|---|
ctrl+z |
Undo |
ctrl+y |
Redo |
,c |
Comment |
,f |
Find |
,fn |
Find next |
,q |
qall |
F2 |
Cls/Func List |
F3 |
NERDTree |
:WNpyfc
- Find a Python class definition across CWD
:WNpyfm
- Find a Python method definition across CWD
Here's some packages you might find useful:
- rodjek/vim-puppet
- chase/vim-ansible-yaml
- t9md/vim-chef
- saltstack/salt-vim