Reputation: 1324
I am reading a long bash shell script using vim, and I want to read all function in outline mode, what can I do in vim? Thank you very much.
Upvotes: 1
Views: 254
Reputation: 141998
It sounds like you wish to fold all functions to make the code easier to browse.
:set foldmethod=syntax
:set foldlevel=1
For more information see:
Upvotes: 2