comparison vim/vimrc @ 163:925df140ae95

Commands to toggle Lawrencium logging.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 17 Feb 2014 19:31:23 -0800
parents 254c4f068808
children 4947d1f99b72 94bf0bd0a788
comparison
equal deleted inserted replaced
162:254c4f068808 163:925df140ae95
219 " Ctrl-P should manage the working directory. 219 " Ctrl-P should manage the working directory.
220 let g:ctrlp_working_path_mode = 2 220 let g:ctrlp_working_path_mode = 2
221 221
222 " Ctrl-P should however ignore some stuff. 222 " Ctrl-P should however ignore some stuff.
223 let g:ctrlp_custom_ignore = { 223 let g:ctrlp_custom_ignore = {
224 \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|build|node_modules)$' 224 \ 'dir': '\v[\/](\.git|\.hg|\.svn|venv|build|static|node_modules)$'
225 \ } 225 \ }
226 226
227 " Make Ctrl-P cache stuff in our temp directory. 227 " Make Ctrl-P cache stuff in our temp directory.
228 let g:ctrlp_cache_dir = s:vim_home.'/cache' 228 let g:ctrlp_cache_dir = s:vim_home.'/cache'
229 229
230 " Use `pyflakes` with `syntastic`. 230 " Use `pyflakes` with `syntastic`.
231 let g:syntastic_python_checkers = ['pyflakes', 'pylint'] 231 let g:syntastic_python_checkers = ['pyflakes']
232 232
233 " Custom Mercurial commands highlighting in Lawrencium. 233 " Custom Mercurial commands highlighting in Lawrencium.
234 let g:lawrencium_hg_commands_file_types = { 234 let g:lawrencium_hg_commands_file_types = {
235 \'clog': 'hggraphlog' 235 \'clog': 'hggraphlog'
236 \} 236 \}
431 431
432 " Enable debugging Lawrencium 432 " Enable debugging Lawrencium
433 let g:lawrencium_debug = 1 433 let g:lawrencium_debug = 1
434 let g:lawrencium_trace = 0 434 let g:lawrencium_trace = 0
435 435
436 command! LawrenciumEnableTrace :call lawrencium#debugtrace(1)
437 command! LawrenciumDisableTrace :call lawrencium#debugtrace(0)
438
436 " Enable debugging PieCrust 439 " Enable debugging PieCrust
437 let g:piecrust_debug = 1 440 let g:piecrust_debug = 1
438 let g:piecrust_trace = 0 441 let g:piecrust_trace = 0
439 442
440 " }}} 443 " }}}