webKnjaZ: be a LifeHacker

This is our world now… the world of the electron and the switch, the beauty of the baud…

21 notes

json / vim love

paultag:

Use vim? Check out some sweet vim exrc stuff for editing one-line JSON files:

autocmd BufRead,BufNewFile *.json set filetype=json
command Js silent %!jp
command Jc silent %!jcompress
autocmd FileType json Js

jcompress and jp are both on my github. Have fun!