News for hackers. Stuff that matters.
Re:Vim After 11 Years by phaedrix on Tuesday February 19, 2013 @02:50PM (#5246608)
I use space for toggling folding:

  " space toggles the fold state under the cursor.
  nnoremap <silent><space> :exe 'normal! za'.(foldlevel('.')?'':'l')<cr>
  " <leader>space expands with zO
  map <leader><space> zO
Re:Vim After 11 Years by q_revert on Tuesday February 19, 2013 @03:04PM (#5246694)
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