[Tutor] vim as a python editor

Alan Gauld alan.gauld at btinternet.com
Fri Jan 7 22:25:08 CET 2011


"Paul Griffiths" <paulmg2010 at gmail.com> wrote 

> I've learned that:
> ...
> - re-configuring the Caps Lock to be an extra Esc saves time

Huh? How do you use that? Its a new one on me. Why would 
two escape keys be useful?

> - I must learn how to  'fold' functions

Read the vim help.

Also read about ctags - they work with python code too.
Combining ctags with vim gives you some very powerful 
navigation tools - ie put the cursor on a function name and 
hit the tags key to go directly to the function definition. 
Even if it's in another file...

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list