Re: Is there a "xml formatter"?

2007-05-30 Thread wangxu
Peter Palm wrote: > Op woensdag 30 mei 2007, schreef wangxu: > >> I want to have this function: >> formatting my xml file automatically. >> or,indent xml element and attributes. >> >> is there any plugin like this? >> thanks! >> > > We

Is there a "xml formatter"?

2007-05-29 Thread wangxu
I want to have this function: formatting my xml file automatically. or,indent xml element and attributes. is there any plugin like this? thanks!

Re: how to replace ESC to some other key?

2007-04-10 Thread wangxu
That's a very good tip: ) I also wanna know how to insert a "Tab" when I editing files like /etc/hosts? Can I? [EMAIL PROTECTED] wrote: > wangxu <[EMAIL PROTECTED]> 写于 2007-04-05 21:08:43: > >> but in this situation,is there any way to auto-indent *.py? >&

Re: how to replace ESC to some other key?

2007-04-04 Thread wangxu
but in this situation,is there any way to auto-indent *.py? [EMAIL PROTECTED] wrote: > "Yakov Lerner" <[EMAIL PROTECTED]> 写于 2007-04-04 22:22:43: > >> On 4/4/07, wangxu <[EMAIL PROTECTED]> wrote: >> >>> ESC is so far from the center of

how to replace ESC to some other key?

2007-04-03 Thread wangxu
ESC is so far from the center of the keyboard. Can I replace this key to Caps Lock,for example? Thanks.

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-03 Thread wangxu
u All: ) A.J.Mechelynck wrote: wangxu wrote: Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc? After commands like "syntax on",still nothing happened. below is my /etc/vim/vimrc,what else should I do to turn the syntax highlighting on? Thanks, shell. [...

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
You are right.my runtimepath is wrong. I updated vim to 7.0 using apt-get, but left the old vimrc unchanged. I checked the vimrc and replaced /usr/share/vim/vim63 to /usr/share/vim/vim70, It is OK now. thank you! Peter Hodge wrote: --- wangxu <[EMAIL PROTECTED]> wrote: the resul

Re: Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
rote: > "syntax on" should be ok. > > Please use :version to confirm your vim was compiled with "+syntax" > function and keep the corresponding syntax file in vim runtime folder. > > Also to check if there has any "syntax off" in /etc/vim/vimrc.local.

Newbee question:Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc?

2007-04-02 Thread wangxu
Why don't I have the syntax highlighting when editing files like *.sh *.xml,etc? After commands like "syntax on",still nothing happened. below is my /etc/vim/vimrc,what else should I do to turn the syntax highlighting on? Thanks, shell. set runtimepath=~/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr