My favourite Vim plugins
A collection of my favourite Vim plugins and configurations.
Shougo/neobundle.vim
A next generation Vim plugin manager.
AndrewRadev/switch.vim
Switch segments of text with predefined replacements.
bling/vim-airline
Nice and useful status/tabline for Vim.
jiangmiao/auto-pairs
Insert or delete brackets, parenthesis, quotes in pair.
Lokaltog/vim-easymotion
Move inside Vim freely.
scrooloose/syntastic
Syntax checking hacks for Vim.
scrooloose/nerdtree
A tree explorer plugin for Vim.
Shougo/unite.vim
Unite and create user interfaces.
" File switching, start in insert mode
nnoremap <silent> <D-p> :<C-u>Unite -start-insert file_rec/async:!<CR>
" Buffer switching
nnoremap <silent> <D-u> :<C-u>Unite -quick-match buffer<CR>
" Tab switching
nnoremap <silent> <C-t> :<C-u>Unite -quick-match buffer tab<CR>
" Enabled to track yank history
let g:unite_source_history_yank_enable = 1
let g:unite_source_history_yank_save_clipboard = 1
" Yank history like YankRing
nnoremap <silent> <D-y> :<C-u>Unite history/yank<CR>
" Open most recent files
" Require Shougo/neomru.vim
nnoremap <silent> <D-o> :<C-u>Unite file_mru<CR>
Shougo/neocomplete.vim
Powerful keyword completion plugin.
Shougo/neosnippet.vim
Adds snippet support to Vim.
tpope/vim-commentary
Toggling comments in Vim.
tpope/vim-surround
Provides mappings to easily delete, change and add such surroundings in pairs.
xmap ( S)
xmap { S{
xmap [ S]
xmap " S"
xmap ' S'
xmap ` S`
xmap T St
tpope/vim-repeat
Enable repeating supported plugin maps with “.”.
tpope/vim-vinegar
Press -
in any buffer to hop up to the directory listing.
terryma/vim-expand-region
Allows you to visually select increasingly larger regions of text using the same key combination.
vmap v <Plug>(expand_region_expand)
vmap <C-v> <Plug>(expand_region_shrink)
tyru/open-browser.vim
Open link under cursor in browser.
kris89/vim-multiple-cursors
Add true Sublime Text style multiple selections for Vim.
" To work with neocomplete
function! Multiple_cursors_before()
exe 'NeoCompleteLock'
endfunction
function! Multiple_cursors_after()
exe 'NeoCompleteUnlock'
endfunction
Color schemes
More
More great plugins can be found in my .vimrc
.