Skip to content

Instantly share code, notes, and snippets.

@blindFS
Created August 30, 2013 12:55
Show Gist options
  • Save blindFS/6389560 to your computer and use it in GitHub Desktop.
Save blindFS/6389560 to your computer and use it in GitHub Desktop.
nnoremap <silent><space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment