diff 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
line wrap: on
line diff
--- a/vim/vimrc	Fri Jan 03 19:38:57 2014 -0800
+++ b/vim/vimrc	Mon Feb 17 19:31:23 2014 -0800
@@ -221,14 +221,14 @@
 
 " Ctrl-P should however ignore some stuff.
 let g:ctrlp_custom_ignore = {
-  \ 'dir':  '\v[\/](\.git|\.hg|\.svn|venv|build|node_modules)$'
+  \ 'dir':  '\v[\/](\.git|\.hg|\.svn|venv|build|static|node_modules)$'
   \ }
 
 " Make Ctrl-P cache stuff in our temp directory.
 let g:ctrlp_cache_dir = s:vim_home.'/cache'
 
 " Use `pyflakes` with `syntastic`.
-let g:syntastic_python_checkers = ['pyflakes', 'pylint']
+let g:syntastic_python_checkers = ['pyflakes']
 
 " Custom Mercurial commands highlighting in Lawrencium.
 let g:lawrencium_hg_commands_file_types = {
@@ -433,6 +433,9 @@
 let g:lawrencium_debug = 1
 let g:lawrencium_trace = 0
 
+command! LawrenciumEnableTrace  :call lawrencium#debugtrace(1)
+command! LawrenciumDisableTrace :call lawrencium#debugtrace(0)
+
 " Enable debugging PieCrust
 let g:piecrust_debug = 1
 let g:piecrust_trace = 0