--- a/bash_profile Mon Mar 17 12:39:06 2014 -0400
+++ b/bash_profile Tue Mar 18 19:17:11 2014 -0400
@@ -19,6 +19,7 @@
alias h='hg'
alias g='git'
+alias pj='python -m json.tool'
alias pbc='pbcopy'
alias pbp='pbpaste'
alias pbpb='pbp | pb'
--- a/vim/vimrc Mon Mar 17 12:39:06 2014 -0400
+++ b/vim/vimrc Tue Mar 18 19:17:11 2014 -0400
@@ -386,6 +386,12 @@
" Keep the cursor in place while joining lines
nnoremap J mzJ`z
+" Join an entire paragraph.
+"
+" Useful for writing GitHub comments in actual Markdown and then translating it
+" to their bastardized version of Markdown.
+nnoremap <leader>J mzvipJ`z
+
" Split line (sister to [J]oin lines)
" The normal use of S is covered by cc, so don't worry about shadowing it.
nnoremap S i<cr><esc>^mwgk:silent! s/\v +$//<cr>:noh<cr>`w