Go to the end of the C++ function in Vim

后端 未结 5 1535
暖寄归人
暖寄归人 2021-02-12 18:00

If I am in the middle of the function, I would like go to the very end of it in vim. I run into this problem as we sometimes have function of 500+ lines long (don\'t ask why).

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-12 18:31

    ][ goes to the next '}' in the first column.

    Read :help 29.3 to find out more about moving through a program.

提交回复
热议问题