On Oct 24, 12:25 pm, Daniel Folkes <danfol...@gmail.comwrote:
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
danfol...@gmail.com
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/Prese...70225/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 <silent<F9:new <Barr!c:/Python25/python c:/Python25/scripts/
pyflakes #<CR>
You could use your favorite syntax checker like Pychecker or Pylint
instead of Pyflakes.