vi setup for pyton
Rainy
sill at optonline.net
Tue May 29 15:03:57 EDT 2001
On Mon, 28 May 2001 21:57:58 +0000, Matthew Hirsch <meh9 at cornell.edu> wrote:
> Hi,
>
> I'm trying to setup vi for python. How do I setup vi so that a tab will
> be four spaces?
>
> Thanks,
> Matt
>
Others already replied about tabs, but here's a mapping that autoindents if
you type :<enter>
:autocmd BufNewFile,BufRead *.py imap :<CR> :<CR><TAB>
--
I'll give you anything, everything if you want things
- Syd
More information about the Python-list
mailing list