Vim folding and feature discoverability
Today, I just found about about code folding within Vim.
I have been using Vim for about 15 years, and use it very regularly for coding.
Today, I was using it trying to debug a long block of code, with many nested blocks, and suddenly wished that Vim offered a feature that is standard with graphical IDEs: the ability to fold nested code of blocks. I quickly searched the web and found that Vim has supported code folding since version 6.
Basically, the feature has been available all along, and for all these years, it could have made my job much easier, but I was never aware of it.
As part of our drive to make software more usable, I maintain that making features, which can sometimes be completely hidden, easily discoverable. That would include keyboard shortcuts for menu items and common operations, settings affecting a specific view or content, etc.
We shall be documenting specific aspects of feature discoverability within this new wiki page:
http://linux.overshoot.tv/wiki/feature_discoverability
- augustin's blog
- Login or register to post comments