mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
fix(custom): fix unknown key
This commit is contained in:
parent
ad03e51196
commit
49cee0362f
@ -1749,27 +1749,28 @@ function! s:lazy_end(...) abort
|
||||
|
||||
endfunction
|
||||
|
||||
let g:_spacevim_mappings_prefixs['[SPC]'] = {'name' : '+SPC prefix'}
|
||||
let g:_spacevim_mappings_space.t = {'name' : '+Toggles'}
|
||||
let g:_spacevim_mappings_space.t.h = {'name' : '+Toggles highlight'}
|
||||
let g:_spacevim_mappings_space.t.m = {'name' : '+modeline'}
|
||||
let g:_spacevim_mappings_space.T = {'name' : '+UI toggles/themes'}
|
||||
let g:_spacevim_mappings_space.a = {'name' : '+Applications'}
|
||||
let g:_spacevim_mappings_space.b = {'name' : '+Buffers'}
|
||||
let g:_spacevim_mappings_space.f = {'name' : '+Files'}
|
||||
let g:_spacevim_mappings_space.j = {'name' : '+Jump/Join/Split'}
|
||||
let g:_spacevim_mappings_space.m = {'name' : '+Major-mode'}
|
||||
let g:_spacevim_mappings_space.w = {'name' : '+Windows'}
|
||||
let g:_spacevim_mappings_space.p = {'name' : '+Projects/Packages'}
|
||||
let g:_spacevim_mappings_space.h = {'name' : '+Help'}
|
||||
let g:_spacevim_mappings_space.n = {'name' : '+Narrow/Numbers'}
|
||||
let g:_spacevim_mappings_space.q = {'name' : '+Quit'}
|
||||
let g:_spacevim_mappings_space.l = {'name' : '+Language Specified'}
|
||||
let g:_spacevim_mappings_space.s = {'name' : '+Searching/Symbol'}
|
||||
let g:_spacevim_mappings_space.r = {'name' : '+Registers/rings/resume'}
|
||||
let g:_spacevim_mappings_space.d = {'name' : '+Debug'}
|
||||
let g:_spacevim_mappings_space.e = {'name' : '+Errors/Encoding'}
|
||||
let g:_spacevim_mappings_space.B = {'name' : '+Global buffers'}
|
||||
let g:_spacevim_mappings_prefixs['[SPC]'] = {'name' : '+SPC prefix'}
|
||||
let g:_spacevim_mappings_space.t = {'name' : '+Toggles'}
|
||||
let g:_spacevim_mappings_space.t.h = {'name' : '+Toggles highlight'}
|
||||
let g:_spacevim_mappings_space.t.m = {'name' : '+modeline'}
|
||||
let g:_spacevim_mappings_space.T = {'name' : '+UI toggles/themes'}
|
||||
let g:_spacevim_mappings_space.a = {'name' : '+Applications'}
|
||||
let g:_spacevim_mappings_space.b = {'name' : '+Buffers'}
|
||||
let g:_spacevim_mappings_space.f = {'name' : '+Files'}
|
||||
let g:_spacevim_mappings_space.j = {'name' : '+Jump/Join/Split'}
|
||||
let g:_spacevim_mappings_space.m = {'name' : '+Major-mode'}
|
||||
let g:_spacevim_mappings_space.w = {'name' : '+Windows'}
|
||||
let g:_spacevim_mappings_space.p = {'name' : '+Projects/Packages'}
|
||||
let g:_spacevim_mappings_space.h = {'name' : '+Help'}
|
||||
let g:_spacevim_mappings_space.n = {'name' : '+Narrow/Numbers'}
|
||||
let g:_spacevim_mappings_space.q = {'name' : '+Quit'}
|
||||
let g:_spacevim_mappings_space.l = {'name' : '+Language Specified'}
|
||||
let g:_spacevim_mappings_space.s = {'name' : '+Searching/Symbol'}
|
||||
let g:_spacevim_mappings_space.r = {'name' : '+Registers/rings/resume'}
|
||||
let g:_spacevim_mappings_space.d = {'name' : '+Debug'}
|
||||
let g:_spacevim_mappings_space.e = {'name' : '+Errors/Encoding'}
|
||||
let g:_spacevim_mappings_space.B = {'name' : '+Global buffers'}
|
||||
let g:_spacevim_mappings_space.f.v = {'name' : '+Vim/SpaceVim'}
|
||||
|
||||
function! SpaceVim#end() abort
|
||||
let &tabline = ' '
|
||||
|
@ -473,7 +473,6 @@ function! SpaceVim#layers#core#config() abort
|
||||
nnoremap <silent> <Plug>YankGitRemoteURL :call SpaceVim#util#CopyToClipboard(2)<Cr>
|
||||
vnoremap <silent> <Plug>YankGitRemoteURL :<C-u>call SpaceVim#util#CopyToClipboard(3)<Cr>
|
||||
call SpaceVim#mapping#space#def('nmap', ['f', 'Y'], '<Plug>YankGitRemoteURL', 'yank-remote-url', 0, 1)
|
||||
let g:_spacevim_mappings_space.f.v = {'name' : '+Vim/SpaceVim'}
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 'v', 'v'], 'let @+=g:spacevim_version | echo g:spacevim_version', 'display-and-copy-version', 1)
|
||||
let lnum = expand('<slnum>') + s:lnum - 1
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['f', 'v', 'd'], 'SPConfig',
|
||||
|
Loading…
Reference in New Issue
Block a user