1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 17:20:05 +08:00
SpaceVim/.SpaceVim.d/autoload/SpaceVim/dev/z.vim
2017-06-25 14:24:12 +08:00

14 lines
379 B
VimL

function! SpaceVim#dev#z#updatedoc()
let keys = keys(g:_spacevim_mappings_z)
let lines = []
for key in keys
if key == '`'
let line = '`` z' . key . ' `` | ' . g:_spacevim_mappings_z[key][1]
else
let line = '`z' . key . '` | ' . g:_spacevim_mappings_z[key][1]
endif
call add(lines, line)
endfor
call append(line('.'), lines)
endfunction