473,388 Members | 1,322 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,388 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 1878
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.