mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:40:05 +08:00
Add +files group mappings
This commit is contained in:
parent
2f7fda525f
commit
39fe17058b
@ -9,4 +9,6 @@ function! SpaceVim#layers#default#plugins() abort
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#default#config() abort
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 's'], 'write', 'save buffer', 1)
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 'S'], 'wall', 'save all buffer', 1)
|
||||
endfunction
|
||||
|
@ -9,6 +9,7 @@ function! SpaceVim#mapping#space#init() abort
|
||||
let g:_spacevim_mappings_space.t = {'name' : '+Toggle editor visuals'}
|
||||
let g:_spacevim_mappings_space.a = {'name' : '+Applications'}
|
||||
let g:_spacevim_mappings_space.b = {'name' : '+Buffers'}
|
||||
let g:_spacevim_mappings_space.f = {'name' : '+Files'}
|
||||
nnoremap <silent> [SPC]bn :bnext<CR>
|
||||
let g:_spacevim_mappings_space.b.n = ['bnext', 'next buffer']
|
||||
call SpaceVim#mapping#menu('Open next buffer', '[SPC]bn', 'bp')
|
||||
|
Loading…
Reference in New Issue
Block a user