Fold function in vim

前端 未结 5 1588
無奈伤痛
無奈伤痛 2021-01-29 18:21

Is there any way or tools to fold function in vim, like Visual Studio or Eclipse?

5条回答
  •  孤城傲影
    2021-01-29 18:49

    Vim has excellent folding support. There is good documentation in the vim help system. Just open vim and do

    :help usr_28.txt 
    

    After reading that you can also read

    :help folding
    

    for some more information.

提交回复
热议问题