Thanks to everyone who gave me great tips to get started.

I program in python.  I think I've found three vim files for a python
mode. (don't kill me if that's an emacs term).  There's one that came
with my installation (a Windows installer).  There's one maintained by
Dimitry Vasiliev, and one maintained by Mikael Bethe.

Can anyone summarize the differences?

More importantly, the way my system is set up, all three of them are
unusable.
1. Indents are tabs
2. The tabs are 8 spaces
3. Indent after a return doesn't work well.

Number 3. is a bit hard to describe.  It seems to work differently in
different situations. I'm sure it's behaving consistently, but I can't
figure out what it's doing.  Here's an example. In emacs, if I hit
return at the end of each line I get something like this:

my_function(
                   arg1,
                   arg2,
                   arg3
                  )

vim gives me

my_function(
                                    arg1,
                                    arg2,
                                    arg3
                                    )



Here's another:

emacs:

def f(x):
    return x

vim:

def f(x):
return x

Finally, tabs are inserted in seemingly random places in my file.

This is not sane python practice, so there must be something missing
from my setup. I'm a little surprised that the vim files aren't self
contained (i.e., there must be more settings that I need to make)

thanks,
gary

PS - hey quit the emacs flames.  emacs is great, vim is great.  To
each is own.

PPS - I'm beginning to see the origins of vim.  A lot of commands are
vaguely familiar from the first editor I used:  edit on RT-11
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to