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? is decrease indent (hold on Shift

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 the keyboard. Can I replace this key to Caps Lock,for example

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

2007-04-03 Thread wangxu
: ) 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. [...] The :scriptnames

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.

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

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

2007-04-02 Thread wangxu
and keep the corresponding syntax file in vim runtime folder. Also to check if there has any syntax off in /etc/vim/vimrc.local. 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

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 results