Last Updated: February 25, 2016
·
1.485K
· jandudulski

VimTip#4: jumping around methods

Did you know, that you can jump with ]m to the start of next method or to the previous with [m? (use capital M to jump to the end of method).

I never heard about these motion commands before, so I guess they are less known.

Other various motions are also interesting, I can just recommend to get familiar with them.

2 Responses
Add your response

I use ctags and taglist that lets me jump to methods in different files.

over 1 year ago ·

To use motion commands in python code I use https://github.com/klen/python-mode

over 1 year ago ·