Re: New to Vim and Vim-Python

2007-10-25 Thread projecktzero
On Oct 24, 12:25 pm, Daniel Folkes <[EMAIL PROTECTED]> wrote:
> I am new to using Vim's scripts.
>
> I was wondering if anyone uses Vim-Python and how to use it?   This
> includes things like key bindings and such.
>
> Thanks in advance,
> Daniel Folkes
> [EMAIL PROTECTED]

I'm not exactly sure what you are talking about. Do you mean writing
Vim scripts in Python? I googled, Vim-Python and found a presentation
about it.

http://www.tummy.com/Community/Presentations/vimpython-20070225/vim.html

Or do you mean writing Python with Vim?

There's this blog entry about it.

http://www.petersblog.org/node/461

I enjoy writing python with Vim. The omni-complete works pretty well.

The TagList plug-in is pretty helpful:

http://www.vim.org/scripts/script.php?script_id=273

Mini-buffer explorer is a good plug-in too:

http://www.vim.org/scripts/script.php?script_id=159

SnippetsEmu is useful when I remember to trigger it for function defs
and class defs.

http://www.vim.org/scripts/script.php?script_id=1318

I also mapped a key to run the existing buffer through Pyflakes.

map   :new  r!c:/Python25/python c:/Python25/scripts/
pyflakes #

You could use your favorite syntax checker like Pychecker or Pylint
instead of Pyflakes.


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: New to Vim and Vim-Python

2007-10-25 Thread Paddy
On Oct 24, 7:25 pm, Daniel Folkes <[EMAIL PROTECTED]> wrote:
> I am new to using Vim's scripts.
>
> I was wondering if anyone uses Vim-Python and how to use it?   This
> includes things like key bindings and such.
>
> Thanks in advance,
> Daniel Folkes
> [EMAIL PROTECTED]

You asked at the right time :-)
See:
  
http://www.builderau.com.au/program/python/soa/Extending-Vim-with-Python/0,264084,339283181,00.htm

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: New to Vim and Vim-Python

2007-10-24 Thread Martin Marcher
Hello,

2007/10/24, Daniel Folkes <[EMAIL PROTECTED]>:
> I am new to using Vim's scripts.
> I was wondering if anyone uses Vim-Python and how to use it?   This
> includes things like key bindings and such.

are you talking about

* how to use vim?
 * http://www.vi-improved.org/tutorial.php
* how to create vim scripts?
 * sorry can't help (but vim.sf.net has a couple of scripts you might
want to look at)
* how to use vim to create python scripts?
 1. http://www.vi-improved.org/tutorial.php
 2. http://docs.python.org/tut/tut.html

Personally I just left vim in favor of emacs - there's just a lot more
available that is ready to use vim emacs than with vim (in my case,
your use case may vary)

hth
martin


-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours
-- 
http://mail.python.org/mailman/listinfo/python-list


New to Vim and Vim-Python

2007-10-24 Thread Daniel Folkes
I am new to using Vim's scripts.

I was wondering if anyone uses Vim-Python and how to use it?   This
includes things like key bindings and such.

Thanks in advance,
Daniel Folkes
[EMAIL PROTECTED]

-- 
http://mail.python.org/mailman/listinfo/python-list