mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-29 14:19:35 -05:00
combined <leader>- and _, and <leader>= and +
This commit is contained in:
parent
a5ac18279f
commit
3b725d9c97
1 changed files with 5 additions and 1 deletions
|
@ -77,9 +77,11 @@
|
||||||
" <Leader>? | (N) -> toggle the vim reference manual
|
" <Leader>? | (N) -> toggle the vim reference manual
|
||||||
" ` | (A) -> toggle the gutter(line numbers, folds and signify)
|
" ` | (A) -> toggle the gutter(line numbers, folds and signify)
|
||||||
"
|
"
|
||||||
" Space | (N) -> toggle selected fold
|
" <Space> | (N) -> toggle selected fold
|
||||||
|
" <Leader>= | (N) -> open all folds
|
||||||
" <Leader>+ | (N) -> open all folds
|
" <Leader>+ | (N) -> open all folds
|
||||||
" <Leader>- | (N) -> unopen all folds
|
" <Leader>- | (N) -> unopen all folds
|
||||||
|
" <Leader>_ | (N) -> unopen all folds
|
||||||
" <Leader>0 | (N) -> reset all folds using default fold level
|
" <Leader>0 | (N) -> reset all folds using default fold level
|
||||||
"
|
"
|
||||||
" <Ctrl-F1> | (A) -> toggle vimfiler sidebar
|
" <Ctrl-F1> | (A) -> toggle vimfiler sidebar
|
||||||
|
@ -383,10 +385,12 @@
|
||||||
nnoremap <Space> za
|
nnoremap <Space> za
|
||||||
|
|
||||||
"open all folds
|
"open all folds
|
||||||
|
nnoremap <silent><expr> <Leader>= 'zn:echo "all folds have been opened"<CR>'
|
||||||
nnoremap <silent><expr> <Leader>+ 'zn:echo "all folds have been opened"<CR>'
|
nnoremap <silent><expr> <Leader>+ 'zn:echo "all folds have been opened"<CR>'
|
||||||
|
|
||||||
"close folds set to be closed
|
"close folds set to be closed
|
||||||
nnoremap <silent><expr> <Leader>- 'zN:echo "all opened folds have been closed"<CR>'
|
nnoremap <silent><expr> <Leader>- 'zN:echo "all opened folds have been closed"<CR>'
|
||||||
|
nnoremap <silent><expr> <Leader>_ 'zN:echo "all opened folds have been closed"<CR>'
|
||||||
|
|
||||||
"reset all folds to the default fold level
|
"reset all folds to the default fold level
|
||||||
nnoremap <silent><expr> <Leader>0 'zX:echo "all folds have been reset"<CR>'
|
nnoremap <silent><expr> <Leader>0 'zX:echo "all folds have been reset"<CR>'
|
||||||
|
|
Loading…
Reference in a new issue