Skip to content

Commit

Permalink
Toggle folding with space + j
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebellos committed Aug 16, 2014
1 parent 10ffc65 commit 477c5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,8 @@ function! NumberToggle()
endfunc

" Toggle folds with space
" nnoremap <Space> za
" vnoremap <Space> za
nnoremap <Space>j za
vnoremap <Space>j za
" Keep the cursor in place while joining lines
nnoremap J mzJ`z
Expand Down

0 comments on commit 477c5c0

Please sign in to comment.