Mercurial > dotfiles.old
comparison vimrc @ 215:ffe47a1b75f8
Add Scratch plugin and lazyload some plugins
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 05 Dec 2014 23:06:30 +0100 |
parents | 16e267567c04 |
children | d216f4d5508e |
comparison
equal
deleted
inserted
replaced
214:16e267567c04 | 215:ffe47a1b75f8 |
---|---|
4 call plug#begin('~/.vim/plugged') | 4 call plug#begin('~/.vim/plugged') |
5 " General Plugins | 5 " General Plugins |
6 Plug 'tpope/vim-sensible' | 6 Plug 'tpope/vim-sensible' |
7 Plug 'tpope/vim-abolish' | 7 Plug 'tpope/vim-abolish' |
8 Plug 'tpope/vim-fugitive' | 8 Plug 'tpope/vim-fugitive' |
9 Plug 'godlygeek/tabular' | 9 Plug 'godlygeek/tabular', { 'on' : 'Tabularize' } |
10 Plug 'tpope/vim-endwise' | 10 Plug 'tpope/vim-endwise' |
11 Plug 'tpope/vim-surround' | 11 Plug 'tpope/vim-surround' |
12 Plug 'jiangmiao/auto-pairs' | 12 Plug 'jiangmiao/auto-pairs' |
13 Plug 'kshenoy/vim-signature' | 13 Plug 'kshenoy/vim-signature' |
14 Plug 'tpope/vim-repeat' | 14 Plug 'tpope/vim-repeat' |
15 Plug 't9md/vim-smalls' | 15 Plug 't9md/vim-smalls' |
16 Plug 'xolox/vim-session' | 16 Plug 'xolox/vim-session' |
17 Plug 'tpope/vim-eunuch' | 17 Plug 'tpope/vim-eunuch', { 'on' : ['Remove', 'Unlink', 'Move', 'Rename', 'Mkdir', 'Chmod', 'Find', 'Locate', 'SudoEdit', 'SudoWrite']} |
18 Plug 'scrooloose/syntastic' | 18 Plug 'scrooloose/syntastic' |
19 Plug 'tpope/vim-commentary' | 19 Plug 'tpope/vim-commentary' |
20 Plug 'wellle/targets.vim' | 20 Plug 'wellle/targets.vim' |
21 Plug 'tpope/vim-dispatch' | 21 Plug 'mtth/scratch.vim' |
22 | |
22 " Undo | 23 " Undo |
23 Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' } | 24 Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' } |
24 | 25 |
25 " Tmux | 26 " Tmux |
26 Plug 'benmills/vimux', { 'on': 'VimuxRunCommand' } | 27 Plug 'benmills/vimux', { 'on': 'VimuxRunCommand' } |
27 Plug 'christoomey/vim-tmux-navigator' | 28 Plug 'christoomey/vim-tmux-navigator' |
29 Plug 'tpope/vim-dispatch' | |
28 | 30 |
29 " Search and Complete | 31 " Search and Complete |
30 Plug 'Shougo/neocomplete' | 32 Plug 'Shougo/neocomplete' |
31 Plug 'Shougo/neosnippet' | 33 Plug 'Shougo/neosnippet' |
32 Plug 'Shougo/neosnippet-snippets' | 34 Plug 'Shougo/neosnippet-snippets' |
539 autocmd FileType c nnoremap <buffer> <silent><leader>s :w<CR>:VimuxRunCommand('make')<CR> | 541 autocmd FileType c nnoremap <buffer> <silent><leader>s :w<CR>:VimuxRunCommand('make')<CR> |
540 " }}} | 542 " }}} |
541 " Vim-tmux-navigator {{{ | 543 " Vim-tmux-navigator {{{ |
542 " nnoremap <silent> <C-h> :TmuxNavigateLeft<CR> | 544 " nnoremap <silent> <C-h> :TmuxNavigateLeft<CR> |
543 " }}} | 545 " }}} |
546 | |
544 " Load local vimrc | 547 " Load local vimrc |
545 if filereadable($HOME . "/.vimrc.local") | 548 if filereadable($HOME . "/.vimrc.local") |
546 source ~/.vimrc.local | 549 source ~/.vimrc.local |
547 endif | 550 endif |
548 | 551 |