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

前端 未结 7 1554
抹茶落季
抹茶落季 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:01

    BTW, the only relatively sure way to be able to do this is to modify vim, see this post

    [edit]
    and this only works with languages supported by exuberant ctags. Since we've not been deigned fit to know which language you wish to do this in, it's possible that this answer will not be correct either.
    [/edit]

提交回复
热议问题