vim hit “enter” on a specific letter

后端 未结 1 1252
不思量自难忘°
不思量自难忘° 2021-01-24 15:00

I want to hit enter on the arrow symbol in a file. Basically after hitting enter the arrow key collapses to show more text. I have so many such arrow keys.

▾ $         


        
相关标签:
1条回答
  • 2021-01-24 15:28

    see http://vim.wikia.com/wiki/Folding or http://vimdoc.sourceforge.net/htmldoc/fold.html

    particularly: za toggles one level of folding, zA toggles all levels. You need to be on the node for this to work.

    To open all folds in the file: zR (and zM will close all of them) (of course here, no need to be on a node, as it acts on all of them)

    0 讨论(0)
提交回复
热议问题