# HG changeset patch # User Steve Losh # Date 1374085661 14400 # Node ID 73eda22f31257361b227ad10194252d341d8f9d3 # Parent 7ae0595085159f7d11a58cdb0eef359f32fb1b51# Parent f54eaeb2a58c1803ca5240b20ca9c2892274392f Merge. diff -r f54eaeb2a58c -r 73eda22f3125 .hgignore --- a/.hgignore Mon Jul 15 18:53:57 2013 -0400 +++ b/.hgignore Wed Jul 17 14:27:41 2013 -0400 @@ -5,6 +5,7 @@ .netrwhist *.swp *.swo +*.orig tags config/bcvi *.un~ diff -r f54eaeb2a58c -r 73eda22f3125 .hgsubstate --- a/.hgsubstate Mon Jul 15 18:53:57 2013 -0400 +++ b/.hgsubstate Wed Jul 17 14:27:41 2013 -0400 @@ -9,7 +9,7 @@ dc349bb7d30f713d770fc1fa0fe209e6aab82dc8 vim/bundle/commentary c1646e3c28d75bcc834af4836f4c6e12296ba891 vim/bundle/ctrlp ffbd5eb50c9daf67657b87fd767d1801ac9a15a7 vim/bundle/dispatch -4f6b8e52376dc9973ca0478b750578b681681b55 vim/bundle/fireplace +b96ccf7441ada22d764af8223b61f18896d82dc9 vim/bundle/fireplace cff78c3ab4605d490e6be8d8af02f1e7efd25c95 vim/bundle/fugitive eb9fc8676b8959c3c2c95bf6b6e8f0f44317c5c0 vim/bundle/gundo 34b407d2344a3c2a94b56e9d443e18e01e8544d9 vim/bundle/html5 diff -r f54eaeb2a58c -r 73eda22f3125 fish/config.fish --- a/fish/config.fish Mon Jul 15 18:53:57 2013 -0400 +++ b/fish/config.fish Wed Jul 17 14:27:41 2013 -0400 @@ -26,6 +26,18 @@ function sjoin -d "Join input lines into a single line with spaces"; tr '\n' ' '; end +function lstrip -d "Strip whitespace from the left of each line" + sed -e 's/^[ \t]*//' +end + +function rstrip -d "Strip whitespace from the right of each line" + sed -e 's/[ \t]*$//' +end + +function lrstrip -d "Strip whitespace from both ends of each line" + lstrip | rstrip +end + function pj python -m json.tool | pygmentize -l json end @@ -209,6 +221,7 @@ set -g -x DRIP_SHUTDOWN 30 set -g -x MAVEN_OPTS "-Xmx512M -XX:MaxPermSize=512M" +set -g -x _JAVA_OPTIONS "-Djava.awt.headless=true" # }}} # Python variables {{{ diff -r f54eaeb2a58c -r 73eda22f3125 vim/vimrc --- a/vim/vimrc Mon Jul 15 18:53:57 2013 -0400 +++ b/vim/vimrc Wed Jul 17 14:27:41 2013 -0400 @@ -888,6 +888,9 @@ au Filetype markdown nnoremap 1 yypVr=:redraw au Filetype markdown nnoremap 2 yypVr-:redraw au Filetype markdown nnoremap 3 mzI###`zllll + + au Filetype markdown nnoremap p VV:'<,'>!python -m json.tool + au Filetype markdown vnoremap p :!python -m json.tool augroup END " }}}