diff --git a/init.vim b/init.vim index 9a8c840..1adef2b 100644 --- a/init.vim +++ b/init.vim @@ -101,6 +101,7 @@ au BufRead,BufNewFile Jenkinsfile* set filetype=groovy autocmd BufNewFile,BufRead *.manifest set filetype=xml autocmd BufNewFile,BufReadPre SConstruct set filetype=python autocmd BufNewFile,BufReadPre SConscript set filetype=python +autocmd FileType xml nnoremap :% !xmllint.exe "%" --format autocmd FileType json syntax match Comment +\/\/.\+$+ " =================Windows and Tabs==================== " Open a new tab with F2