How to jump to the beginning of the current function body in Vim?

前端 未结 7 1558
抹茶落季
抹茶落季 2021-02-02 05:14

As title, if I\'m in the middle of function body and the function body is very long, how can I jump back to the beginning of the function body .

7条回答
  •  余生分开走
    2021-02-02 06:19

    [m

    Go to [count] previous start of a method

    Works for Java or similar structured languages, and for Python as well.

提交回复
热议问题