mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 17:00:05 +08:00
14 lines
379 B
VimL
14 lines
379 B
VimL
function! SpaceVim#dev#g#updatedoc()
|
|
let keys = keys(g:_spacevim_mappings_g)
|
|
let lines = []
|
|
for key in keys
|
|
if key == '`'
|
|
let line = '`` g' . key . ' `` | ' . g:_spacevim_mappings_g[key][1]
|
|
else
|
|
let line = '`g' . key . '` | ' . g:_spacevim_mappings_g[key][1]
|
|
endif
|
|
call add(lines, line)
|
|
endfor
|
|
call append(line('.'), lines)
|
|
endfunction
|