# HG changeset patch # User Steve Losh # Date 1374122984 14400 # Node ID ea3fd4a6795ae2c5b27006f03201805a2454158e # Parent 1653b47cadb9d6ad1f3223e768269434ceecafb6# Parent 73eda22f31257361b227ad10194252d341d8f9d3 Merge. diff -r 1653b47cadb9 -r ea3fd4a6795a .hgignore --- a/.hgignore Thu Jul 18 00:49:26 2013 -0400 +++ b/.hgignore Thu Jul 18 00:49:44 2013 -0400 @@ -5,6 +5,7 @@ .netrwhist *.swp *.swo +*.orig tags config/bcvi *.un~ diff -r 1653b47cadb9 -r ea3fd4a6795a .hgsubstate --- a/.hgsubstate Thu Jul 18 00:49:26 2013 -0400 +++ b/.hgsubstate Thu Jul 18 00:49:44 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 1653b47cadb9 -r ea3fd4a6795a fish/config.fish --- a/fish/config.fish Thu Jul 18 00:49:26 2013 -0400 +++ b/fish/config.fish Thu Jul 18 00:49:44 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 1653b47cadb9 -r ea3fd4a6795a vim/vimrc --- a/vim/vimrc Thu Jul 18 00:49:26 2013 -0400 +++ b/vim/vimrc Thu Jul 18 00:49:44 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 " }}}