1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-15 15:19:27 +08:00
SpaceVim/.SpaceVim.d/autoload/SpaceVim/dev/g.vim
2019-01-28 22:12:37 +08:00

14 lines
386 B
VimL

function! SpaceVim#dev#g#updatedoc() abort
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