[TOC]
The configuration of my vim.
name | function | suggest |
---|---|---|
vundle.vim | Manage all plugins | Required |
vim-colors-solarized | The theme of vim | Recommend |
vim-airline | The status bar of vim | Recommend |
vim-airline-themes | The theme of vim-airline | Recommend |
nerdtree | The file explore of vim | Recommend |
tagbar | The tag bar of vim | Optional |
YouCompleteMe | Auto complete for coding | Optional |
ctrlp.vim | Quickly search files | Recommend |
ack.vim | Quickly search text | Optional |
vim-surround | Quickly type surroundings | Recommend |
python-mode | Python support | Optional |
vim-scala | Scala support | Optional |
key | function |
---|---|
Space | Leader |
<Leader>r | Run current file(shell/python) |
<S-Cr> | Insert a blank line above current location and return to normal mode |
<Leader>y | Copy text to system clipboard |
<Leader>p | Paste text from system clipboard |
git clone https://github.com/Yasenia/dot_vim.git ~/.vim
- If you have already use
~/.vimrc
file as the config of vim:echo 'source ~/.vim/vimrc' >> ~/.vimrc
- Or else, just do nothing.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Comment the plugins witch you are not need in the file ~/.vim/config/vundle.vim
.
Launch the vim, and type :PluginInstall<Cr>
.
cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive
./install.py