Vim: temporarily show only specific lines

后端 未结 3 1796
你的背包
你的背包 2021-01-12 15:26

Sometimes, in Vim, I want to show only a specific part of a file (for example, a specific method) while hiding the rest.

This helps me to focus at the problem at han

3条回答
  •  旧时难觅i
    2021-01-12 16:13

    :help folding
    

    Not quite up to speed on folding myself, but I believe that's the feature you're looking for.

提交回复
热议问题