diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 2a0a9a0..ac87671 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -77,9 +77,11 @@ " ? | (N) -> toggle the vim reference manual " ` | (A) -> toggle the gutter(line numbers, folds and signify) " -" Space | (N) -> toggle selected fold +" | (N) -> toggle selected fold +" = | (N) -> open all folds " + | (N) -> open all folds " - | (N) -> unopen all folds +" _ | (N) -> unopen all folds " 0 | (N) -> reset all folds using default fold level " " | (A) -> toggle vimfiler sidebar @@ -383,10 +385,12 @@ nnoremap za "open all folds + nnoremap = 'zn:echo "all folds have been opened"' nnoremap + 'zn:echo "all folds have been opened"' "close folds set to be closed nnoremap - 'zN:echo "all opened folds have been closed"' + nnoremap _ 'zN:echo "all opened folds have been closed"' "reset all folds to the default fold level nnoremap 0 'zX:echo "all folds have been reset"'