Re:Vim After 11 Years
by phaedrix on Tuesday February 19, 2013 @02:50PM
(#5246608)
I use space for toggling folding:
[ Parent
| on HN ]
same here, but use
nnoremap <Space> za
vnoremap <Space> za
also, for folding in general I'd recommend using set foldmethod=marker
which has the benefit of making folds more 'transparent' in your code, and also persistent across vim sessions