fun! Qksk() "去掉可视中空格,先选中,再在命令行输入该区 let [a,b,c,d,e]=getcurpos() :s/\%V //g :call cursor(b,e) "对虚进行替换,用虚偏移. endf