Skip to content

Instantly share code, notes, and snippets.

@msonnabaum
Created May 31, 2011 17:50
Show Gist options
  • Select an option

  • Save msonnabaum/1000957 to your computer and use it in GitHub Desktop.

Select an option

Save msonnabaum/1000957 to your computer and use it in GitHub Desktop.
" Format json using the "json" command from npm
func FJSON()
%! json
set filetype=javascript
nohl
normal! gg=G
endfu
com -nargs=* FJSON call FJSON()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment