Setting up my dotfile quickly
- Optimize for PHP coding
- Optimize for Python coding
- Optimize for Git branch
command-t : fast file search, need ruby support for vim.
nerdtree : file browsering
python-mode : for python
vim-pep8 : python pep8 check
vim-pyflakes : python staic check
vim-pyunit : python unit test
vim-snipmate : TextMate's snippets
- dependencies :
wget -O - https://github.com/jsleetw/MyDotFiles/raw/master/auto-install.sh | bash
- check vim support
vim --version | grep ruby
- if not ruby+ , install vim-nox
sudo apt-get install vim-nox
- make command-t
cd .vim/bundle/command-t; rake make
- leader key is ","
<leader>m | mouse mode change |
<leader>n | nerdtree on/off |
<leader>t | tigger command-t |
<leader>ev | edit vimrc |
<leader>so | source vimrc |
<leader>p | tigger paste mode |
<leader>c | PyUnitRunTests |
<leader>; | python pep8 check |
<leader>' | python static check |
<leader>l | python pylint check |