Confusion about vim folding - how to disable?

后端 未结 9 1326
暗喜
暗喜 2020-12-22 20:20
  1. When I open the file it looks like this: \"enter or even this
9条回答
  •  南方客
    南方客 (楼主)
    2020-12-22 21:11

    Just adding one more to make it complete to the point of discussion.

    To enable code folding:

    :set foldenable or in short, :set fen

    To disable code folding:

    :set nofoldenable or in short, :set nofen

    Once you enable codefolding, you will have all the commands like zf,zo etc at your wish according to the setting of :set fdm=xxxx where typical values are expr,syntax,manual etc.

提交回复
热议问题