Thursday, March 15, 2012

formatting xml in vim

map <F2> <Esc>:1,$!xmllint --format -<CR>

add the above in .vimrc

No comments:

Blog Archive