using vim as a python class/module/function etc.. browser

Robert Kern robert.kern at gmail.com
Mon Apr 10 23:19:26 EDT 2006


Chris Jones wrote:
> I'm trying to make sense of a python program and was wondering if vim 
> has any python-oriented functionalities (apart from syntax highlighting) 
> that would make it somewhat easier to browse the source code.
> 
> What I had in mind is something that would let me use CTRL+] to 
> automatically display whatever object is under the cursor (a bit like 
> ctags for code written in C..)
> 
> I have read somewhere about something called 'ptags' but could not find 
> it in debian - and I'm not 100% sure it's really a python equivalent of 
> ctags.

On ptags:
http://www.vim.org/tips/tip.php?tip_id=1188

Of course, modern versions of Exuberant Ctags also support Python, too.

-- 
Robert Kern
robert.kern at gmail.com

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list