mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
Fix key bindings Tab
This commit is contained in:
parent
961b52f022
commit
d4cab1f4bf
@ -566,6 +566,10 @@ command -nargs=1 LeaderGuide call SpaceVim#mapping#guide#start_by_prefix('0', <a
|
|||||||
command -range -nargs=1 LeaderGuideVisual call SpaceVim#mapping#guide#start_by_prefix('1', <args>)
|
command -range -nargs=1 LeaderGuideVisual call SpaceVim#mapping#guide#start_by_prefix('1', <args>)
|
||||||
|
|
||||||
function! SpaceVim#end() abort
|
function! SpaceVim#end() abort
|
||||||
|
if g:spacevim_vimcompatible != 1
|
||||||
|
call SpaceVim#mapping#def('nnoremap <silent>', '<Tab>', ':wincmd w<CR>', 'Switch to next window or tab','wincmd w')
|
||||||
|
call SpaceVim#mapping#def('nnoremap <silent>', '<S-Tab>', ':wincmd p<CR>', 'Switch to previous window or tab','wincmd p')
|
||||||
|
endif
|
||||||
if g:spacevim_vimcompatible == 1
|
if g:spacevim_vimcompatible == 1
|
||||||
let g:spacevim_windows_leader = ''
|
let g:spacevim_windows_leader = ''
|
||||||
let g:spacevim_windows_smartclose = 0
|
let g:spacevim_windows_smartclose = 0
|
||||||
|
@ -311,8 +311,6 @@ function! SpaceVim#default#keyBindings() abort
|
|||||||
|
|
||||||
call SpaceVim#mapping#def('nnoremap <silent>', '<C-c>', ':<c-u>call zvim#util#CopyToClipboard()<cr>',
|
call SpaceVim#mapping#def('nnoremap <silent>', '<C-c>', ':<c-u>call zvim#util#CopyToClipboard()<cr>',
|
||||||
\ 'Copy buffer absolute path to X11 clipboard','call zvim#util#CopyToClipboard()')
|
\ 'Copy buffer absolute path to X11 clipboard','call zvim#util#CopyToClipboard()')
|
||||||
call SpaceVim#mapping#def('nnoremap <silent>', '<Tab>', ':wincmd w<CR>', 'Switch to next window or tab','wincmd w')
|
|
||||||
call SpaceVim#mapping#def('nnoremap <silent>', '<S-Tab>', ':wincmd p<CR>', 'Switch to previous window or tab','wincmd p')
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
fu! s:tobur(num) abort
|
fu! s:tobur(num) abort
|
||||||
|
Loading…
Reference in New Issue
Block a user