I want to have this function:
formatting my xml file automatically.
or,indent xml element and attributes.
is there any plugin like this?
thanks!
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
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
: )
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
ESC is so far from the center of the keyboard.
Can I replace this key to Caps Lock,for example?
Thanks.
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
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
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