On 4/11/07, wangxu <[EMAIL PROTECTED]> wrote:
That's a very good tip: ) I also wanna know how to insert a "Tab" when I editing files like /etc/hosts? Can I?
What I did for indenting is I usually use space to replace the TAB with the following settings: set expandtab set tabstop=4 But if I indeed need a realy TAB, I press "CTRL+V TAB" to get one. This may be not what you want, because I didn't go through the whole thread. Anyway, hope that helps a bit. :) -- Best, Zhaojun (Joseph)
[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, then '<' twice) > >> is "increase indent" > You can use << or >> command in Normal mode and Visual mode. which is as > good as, if no better than, the <tab> key. > > -- > Sincerely, Pan, Shi Zhu. ext: 2606