diff --git a/_vimrc b/_vimrc index 677d2b2..f2fae62 100644 --- a/_vimrc +++ b/_vimrc @@ -290,3 +290,9 @@ function! MyDiff() silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq endfunction +function! Xml() + set filetype=xml + :%s/>\r<替换成>回车< + :normal gg=G +endfunction +map xml :call Xml() diff --git a/xmllint-1.0.exe b/xmllint-1.0.exe new file mode 100644 index 0000000..b0ec840 Binary files /dev/null and b/xmllint-1.0.exe differ