Steve Losh  committed aef2d07

oh hey look more

  • Participants
  • Parent commits 7d8ecc0

Comments (0)

Files changed (2)

File bash_profile

 alias h='hg'
 alias g='git'
+alias pj='python -m json.tool'
 alias pbc='pbcopy'
 alias pbp='pbpaste'
 alias pbpb='pbp | pb'
 " 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