Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: