# HG changeset patch # User Steve Losh # Date 1282749716 14400 # Node ID 3e9f6887f7d2866f6cc5d6e846548eebc8098192 # Parent d7bd5a0f22b156bcd7dcf5d30fb3318c1ad56801 A bunch of stuff. diff -r d7bd5a0f22b1 -r 3e9f6887f7d2 .hgrc --- a/.hgrc Tue Aug 24 15:14:31 2010 -0400 +++ b/.hgrc Wed Aug 25 11:21:56 2010 -0400 @@ -167,3 +167,7 @@ # Install t first: http://bitbucket.org/sjl/t/ bug = !~/lib/t/t.py --task-dir="`$HG root`" --list=BUGS $@ todo = !~/lib/t/t.py --task-dir="`$HG root`" --list=TODO $@ + +# Easily add ignore patterns. +ignore = ![ -n "$@" ] && echo '$@' >> `$HG root`/.hgignore && \ + $HG commit `$HG root`/.hgignore -Am 'Add "$@" to .hgignore.' diff -r d7bd5a0f22b1 -r 3e9f6887f7d2 vim/.vimrc --- a/vim/.vimrc Tue Aug 24 15:14:31 2010 -0400 +++ b/vim/.vimrc Wed Aug 25 11:21:56 2010 -0400 @@ -97,7 +97,6 @@ vnoremap za au BufNewFile,BufRead *.html map ft Vatzf -set foldtext=MyFoldText() function! MyFoldText() let line = getline(v:foldstart) @@ -110,9 +109,10 @@ let line = substitute(line, '\t', onetab, 'g') let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount)) - let fillcharcount = windowwidth - len(line) - len(foldedlinecount) - 1 + let fillcharcount = windowwidth - len(line) - len(foldedlinecount) - 4 return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' ' endfunction +set foldtext=MyFoldText() " Fuck you, help key. inoremap :set invfullscreena diff -r d7bd5a0f22b1 -r 3e9f6887f7d2 vim/ftplugin/python.vim --- a/vim/ftplugin/python.vim Tue Aug 24 15:14:31 2010 -0400 +++ b/vim/ftplugin/python.vim Wed Aug 25 11:21:56 2010 -0400 @@ -64,7 +64,7 @@ let line = substitute(line, '\t', onetab, 'g') let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount)) - let fillcharcount = windowwidth - len(line) - len(foldedlinecount) - 1 + let fillcharcount = windowwidth - len(line) - len(foldedlinecount) - 4 return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' ' endfunction