Mercurial > dotfiles
comparison vim/vimrc @ 440:4b816faa06e2
Remove CtrlP, add statusline refresh.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 Apr 2018 20:12:47 -0700 |
parents | f1f95a19fffe |
children | a3c6869085c1 |
comparison
equal
deleted
inserted
replaced
439:f1f95a19fffe | 440:4b816faa06e2 |
---|---|
237 | 237 |
238 if executable('ag') | 238 if executable('ag') |
239 let g:ackprg = 'ag --vimgrep' | 239 let g:ackprg = 'ag --vimgrep' |
240 endif | 240 endif |
241 | 241 |
242 nnoremap <Leader>a :Ack!<Space> | 242 nnoremap <leader>a :Ack!<Space> |
243 nnoremap <leader>f :Ack! /<C-R><C-W>/ | 243 nnoremap <leader>f :Ack! /<C-R><C-W>/ |
244 vnoremap <leader>f "zy:Ack! /<C-R>z/ | 244 vnoremap <leader>f "zy:Ack! /<C-R>z/ |
245 | 245 |
246 " }}} | 246 " }}} |
247 | 247 |
303 | 303 |
304 let g:gutentags_cache_dir = ludo#localpath('tags') | 304 let g:gutentags_cache_dir = ludo#localpath('tags') |
305 let g:gutentags_ctags_exclude = ['venv', 'build', 'static', 'node_modules'] | 305 let g:gutentags_ctags_exclude = ['venv', 'build', 'static', 'node_modules'] |
306 let g:gutentags_ctags_extra_args = ['--options='.ludo#localpath('ctagsrc')] | 306 let g:gutentags_ctags_extra_args = ['--options='.ludo#localpath('ctagsrc')] |
307 let g:gutentags_ctags_exclude_wildignore = 0 | 307 let g:gutentags_ctags_exclude_wildignore = 0 |
308 | |
309 augroup GutentagsStatusLineRefresher | |
310 autocmd! | |
311 autocmd User GutentagsUpdating call lightline#update() | |
312 autocmd User GutentagsUpdated call lightline#update() | |
313 augroup END | |
308 | 314 |
309 " }}} | 315 " }}} |
310 | 316 |
311 " Syntastic {{{ | 317 " Syntastic {{{ |
312 | 318 |