janus icon indicating copy to clipboard operation
janus copied to clipboard

Setup folding for scripts

Open jonathan opened this issue 14 years ago • 2 comments

Folding is a nice feature. 'set foldmethod=syntax' should do it.

http://vim.wikia.com/wiki/Syntax_folding_of_Vim_scripts

jonathan avatar Aug 27 '10 21:08 jonathan

+1 but also add

set nofoldenable

so it does not fold by default everytime you open a file

danpal avatar Dec 11 '10 01:12 danpal

This is really a personal taste, it's nice but not everyone would know how to open folds for example, so This should probably be done in a ~/.vimrc.before template file (setting a setting controlling something inside janus to enable/disable it) anyway I'm tagging this to after vimius release because I won't have time for it

kalbasit avatar Nov 20 '11 12:11 kalbasit