473,287 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

New to Vim and Vim-Python

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
da*******@gmail.com

Oct 24 '07 #1
3 1875
Hello,

2007/10/24, Daniel Folkes <da*******@gmail.com>:
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
Oct 24 '07 #2
On Oct 24, 7: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
You asked at the right time :-)
See:
http://www.builderau.com.au/program/...9283181,00.htm

Oct 25 '07 #3
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.
Oct 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: John Wellesz | last post by:
If you are coding php using GVIM, you will appreciate this new indent script: Download there: http://www.vim.org/scripts/download_script.php?src_id=3710 or here: ...
12
by: François Pinard | last post by:
Hi, my Python and Vim friends. Here is the initial release of `allout-vim'! :-) Grab it from: http://fp-etc.progiciels-bpi.ca/archives/allout-vim-031229.tgz The Allout file format is (yet...
4
by: japh | last post by:
Vim is swell about turning standard varbiable types green - like: int myAge; double myIQ; or whatnot. But if I have a class Point and declare a Point: Point upperLeftCorner; Point...
1
by: John Wellesz | last post by:
Hello, I've just released the version 1.18 of my script! ( you can find the original topic about it there: http://groups.google.fr/group/comp.lang.php/msg/b84d1c566472c8fa ) What's new:
12
by: Chris Lasher | last post by:
Hello, Is there a Python-sensitive, Linux compatible IDE out there with standard bells and whistles (source browser, symbolic debugger, etc.) but with the action-per-keystroke editing capabilities...
4
by: sashan | last post by:
Hi Is there a way to enable Emacs/Vim style buffer switching in the VC++ editor? For those that don't know this is where you hit a shortcut key in Emacs/Vim and then type the partial name of the...
3
by: AntiVista | last post by:
I Installed latest VIM 7.0 Editor for Windows XP. But i don't know how to compile C programs in VIM Editor. I run the HELLO WORLD Program and save the file as HELLO.C Then i press the Make...
0
by: Ben Finney | last post by:
skip@pobox.com writes: The Eclim project exposes Eclipse functionality and then uses Vim as an interface. Instead of trying to write a java IDE in Vim or a Vim editor in Eclipse, eclim...
6
by: Eric_Dexter | last post by:
I am having trouble contolling vim with subprocess on a windows machine. It appears that vim comes up on the machine all right and it sometimes looks like it is doing the searchs what I am asking...
6
by: Dave Hughes | last post by:
Anyone else out there a regular DB2 and vim user? A while back, Lennart pointed me in the direction of an interesting database extension plugin for vim (dbext.vim ). I took it for a spin, but...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.