vim configuration help

Karl Scalet news at yebu.de
Tue Apr 15 03:24:18 EDT 2003


Hi Randall,

Randall Smith wrote:
> I'm learning Python and I've been looking for a good IDE to use with it. 
>    I haven't found an IDE that has text editing capabilities close to 
> Vim/Emacs.
> 
> Much of my previous programming is with Emacs/PHP and I love the 
> auto-indenting, tab-indenting, well thought-out key strokes, and the 
> ability to ssh into a server and run Emacs.
> 
> I'd like to try out Vim while writing Python code (I'm using Webware). 
> Right now, the default settings using color coding, have an 8 space tab 
> and no autoindenting.  I would like to have a tab space of 2 or 4 spaces 
> and have auto-indenting.
> 
> I have no idea how to configure Vim.  I'm a total newbie.  Can someone 
> please help me get started.  I'm looking to configure Vim for Python. 
> Autoindenting and 4 space tabs are high priority now.

looking in my vimrc file:

set autoindent
set tabstop=4
set shiftwidth=4
set expandtab

could give you a start

Karl





More information about the Python-list mailing list