From 5382edbf3c4cbebed5b714af2a47ecfdc180dc8f Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Sun, 26 Jul 2015 14:03:13 +0800 Subject: [PATCH] add format xml function --- _vimrc | 6 ++++++ xmllint-1.0.exe | Bin 0 -> 16384 bytes 2 files changed, 6 insertions(+) create mode 100644 xmllint-1.0.exe 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 0000000000000000000000000000000000000000..b0ec8402cfd64b9951e28ec7ae1510adc495c0a4 GIT binary patch literal 16384 zcmeHMTWlOx8UAMM_!h@a+{Ce)3zIs48_CQ1(%1nKHnE-5tsT3z<1}qiGCO;`89F;- zW@gK}5+ytoRH;Jbp${Ms6%r490UnTOxeK8pgenyQLhw*Uyif@Vc&sXv^8IIaeFs6` zD$ZHYcg}w~|M}0iKj^~u+Fw8MiZ%24 ziKUx<;;hC|Id&_K=Z0aFIz{Eg)zI-nXL4@QsYE4}+qbXdWIgo!6fk2o;o7gy&NWuM z1KZkbwE_F7aWd^s2I}L2$OMNS?UJ{&Mvq$*WFA`+3eRal%Y?eV-f5o_<6f0ffqz28 z_I3m4+^+j?WC!35)>|9pht?$^m#SJy`4{3uo6c=>Vww6zE>2>PW1U-}?&q-I)Cx4` zViiPm)VbcEQDWtJY-$DI!Y0uS4FiS&!+>GHFkl!k3>XFs1BL;^fMMYOh=G?_|4NhE z)W#khJORwNO6?3-K#SP^mv$s?qs$4MdjR%;twSXD0397Iha(oH9Y_uk_qIMum*%Kj zGz0e%lY@lLw!_gOQMKI{^+?~^79ExzZ}#j%%qgqw1HDuX^krJ$6f9jgx8c$pdhX-W z_c8~E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