Skip to content

Instantly share code, notes, and snippets.

@paranormal
Created August 28, 2015 11:30
Show Gist options
  • Save paranormal/0f88f8eb875168ad008d to your computer and use it in GitHub Desktop.
Save paranormal/0f88f8eb875168ad008d to your computer and use it in GitHub Desktop.
vimpagerrc
if exists('vimpager')
set nolist
if exists("vimpager_ptree")
set ft=man
endif
endif
aug JS
au!
au BufReadPost *
\ if getline(1)[0] == '{' |
\ setl ft=json |
\ endif
aug END
map <Leader>j :%!python -m json.tool<cr>
nmap <Leader>j :%!python -m json.tool<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment