Wednesday, June 23, 2010

Re: How to jump from to the begin or the end of a python function (or method)

On 06/23/2010 10:31 PM, Peng Yu wrote:
> In other language that use braces (like C++), it is easier to jump to
> the begin and the end of a function or a class. But python don't use
> them. Is there a way to jump to the begin and the end of a python
> function, class or member method?
>


I use /^\s*def\s\|^\s*class\s.

   -ak

--
 Python plugins for vim: outliner, todo list, project manager, calendar,
 expenses tracker, sortable table, and more |
 http://lightbird.net/pysuite/


No comments: