Mercurial > dotfiles.old
comparison vimrc @ 247:5199030e3e2c
Update vimplug
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 22 Feb 2015 22:38:06 +0100 |
parents | 624d06dcf54c |
children | 7a595f9ef896 |
comparison
equal
deleted
inserted
replaced
246:624d06dcf54c | 247:5199030e3e2c |
---|---|
26 Plug 'tpope/vim-surround' | 26 Plug 'tpope/vim-surround' |
27 Plug 'jiangmiao/auto-pairs' | 27 Plug 'jiangmiao/auto-pairs' |
28 | 28 |
29 " Formatting | 29 " Formatting |
30 Plug 'godlygeek/tabular', { 'on' : 'Tabularize' } | 30 Plug 'godlygeek/tabular', { 'on' : 'Tabularize' } |
31 Plug 'pelodelfuego/vim-swoop', { 'on' : ['Swoop', 'SwoopSelection', 'SwoopMulti', 'SwoopMultiSelection'] } | |
32 | 31 |
33 " Comments | 32 " Comments |
34 Plug 'tpope/vim-commentary' | 33 Plug 'tpope/vim-commentary' |
35 | 34 |
36 " Moving in files | 35 " Moving in files |
239 inoremap <C-f> <right> | 238 inoremap <C-f> <right> |
240 | 239 |
241 " Switch between the last two files | 240 " Switch between the last two files |
242 nnoremap <space><space> <C-^> | 241 nnoremap <space><space> <C-^> |
243 | 242 |
244 " Very Magic search patterns | 243 " " Very Magic search patterns |
245 nmap / /\v | 244 " nmap / /\v |
246 cmap s/ s/\v | 245 " cmap s/ s/\v |
247 | 246 |
248 " Keep search matches in the middle of the window. | 247 " Keep search matches in the middle of the window. |
249 nnoremap n nzzzv | 248 nnoremap n nzzzv |
250 nnoremap N Nzzzv | 249 nnoremap N Nzzzv |
251 | 250 |
441 if !exists('g:neocomplete#sources#omni#input_patterns') | 440 if !exists('g:neocomplete#sources#omni#input_patterns') |
442 let g:neocomplete#sources#omni#input_patterns = {} | 441 let g:neocomplete#sources#omni#input_patterns = {} |
443 endif | 442 endif |
444 let g:neocomplete#sources#omni#input_patterns.tex = | 443 let g:neocomplete#sources#omni#input_patterns.tex = |
445 \ '\v\\\a*(ref|cite)\a*([^]]*\])?\{([^}]*,)*[^}]*' | 444 \ '\v\\\a*(ref|cite)\a*([^]]*\])?\{([^}]*,)*[^}]*' |
446 " }}} | |
447 " Swoop {{{ | |
448 let g:swoopUseDefaultKeyMap = 0 | |
449 " }}} | 445 " }}} |
450 " Ag {{{ | 446 " Ag {{{ |
451 " Ack motions by Steve Losh, adapted for Ag | 447 " Ack motions by Steve Losh, adapted for Ag |
452 nnoremap <silent> <Leader>a :set opfunc=<SID>AckMotion<CR>g@ | 448 nnoremap <silent> <Leader>a :set opfunc=<SID>AckMotion<CR>g@ |
453 xnoremap <silent> <Leader>a :<C-U>call <SID>AckMotion(visualmode())<CR> | 449 xnoremap <silent> <Leader>a :<C-U>call <SID>AckMotion(visualmode())<CR> |