How to disable folding in vim?
Issue
- How to disable folding in vim?
Sample text:
$ cat /tmp/test.inp
*
test
*
a
b
c
*
*
You can see a folded line using vim.
$ vim /tmp/test.inp
*
test
*
+-- 3 lines: a------------------------------------------------------------
*
*
To view the text, open the fold by typing:
zo
And you can close the fold again with:
zc
Environment
- Red Hat Enterprise Linux 6
- vim-enhanced
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.