Monday, April 9, 2012

go to submodule file in python file.

I hope Vim can improve "gf", "gD" for python submodule.
(press "gf" to open that submodule file, press "gD" to jump to that submodule file's global
definition)
for example, there is a piece of python code.

[code]
from canto_next.canto_backend import CantoBackend
[/code]

The file is like this:
bin/canto-daemon (I'm in this file.)
canto_next/
canto_backend.py

Do you have any idea for this ? (already have plugins or have some tips ?)

--
[stardiviner] <fuck you, world!> GPG key ID: 47C32433
IRC(freeenode): Evanescence Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
http://stardiviner.dyndns-blog.com/author.html

No comments: