# HG changeset patch # User Steve Losh # Date 1313091650 14400 # Node ID 39e899d00175e359046b5b68b24fdaa4db6c11ce # Parent 10d9dfd91cbb63b8536e06b4133ee8400c03e456 Clean up a few things. diff -r 10d9dfd91cbb -r 39e899d00175 vim/.vimrc --- a/vim/.vimrc Thu Aug 11 15:36:36 2011 -0400 +++ b/vim/.vimrc Thu Aug 11 15:40:50 2011 -0400 @@ -552,10 +552,12 @@ " }}} " NERD Tree {{{ -noremap :NERDTreeToggle +noremap :NERDTreeToggle inoremap :NERDTreeToggle + +au Filetype nerdtree setlocal nolist + let NERDTreeIgnore=['.vim$', '\~$', '.*\.pyc$', 'pip-log\.txt$', 'whoosh_index', 'xapian_index', '.*.pid', 'monitor.py', '.*-fixtures-.*.json', '.*\.o$', 'db.db'] -au Filetype nerdtree setlocal nolist " }}} " HTML5 {{{ @@ -591,7 +593,7 @@ " }}} " Syntastic {{{ -let g:syntastic_enable_signs=1 +let g:syntastic_enable_signs = 1 let g:syntastic_disabled_filetypes = ['html'] let g:syntastic_stl_format = '[%E{Error 1/%e: line %fe}%B{, }%W{Warning 1/%w: line %fw}]' let g:syntastic_jsl_conf = '$HOME/.vim/jsl.conf' @@ -640,13 +642,14 @@ " }}} " Pydoc {{{ -au FileType python noremap Lw :call ShowPyDoc('', 1) -au FileType python noremap LW :call ShowPyDoc('', 1) +au FileType python noremap ds :call ShowPyDoc('', 1) +au FileType python noremap dS :call ShowPyDoc('', 1) " }}} " Scratch {{{ command! ScratchToggle call ScratchToggle() + function! ScratchToggle() " {{{ if exists("w:is_scratch_window") unlet w:is_scratch_window @@ -656,18 +659,22 @@ let w:is_scratch_window = 1 endif endfunction " }}} + nnoremap :ScratchToggle " }}} " OrgMode {{{ + let g:org_plugins = ['ShowHide', '|', 'Navigator', 'EditStructure', '|', 'Todo', 'Date', 'Misc'] let g:org_todo_keywords = ['TODO', '|', 'DONE'] + let g:org_debug = 1 + " }}} " SLIMV {{{ -let g:slimv_lisp = '"java -cp `lein classpath` clojure.main"' +"let g:slimv_lisp = '"java -cp `lein classpath` clojure.main"' let g:slimv_repl_split = 4 let g:slimv_repl_syntax = 1