1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-22 04:43:45 +08:00
SpaceVim/autoload/SpaceVim/layers/games.vim
2017-04-28 23:11:20 +08:00

11 lines
379 B
VimL

function! SpaceVim#layers#games#plugins() abort
let plugins = []
call add(plugins, ['wsdjeg/vim2048', {'merged' : 0}])
return plugins
endfunction
function! SpaceVim#layers#games#config() abort
let g:_spacevim_mappings_space.g = {'name' : '+Games'}
call SpaceVim#mapping#space#def('nnoremap', ['g', '2'], 'call vim2048#start()', '2048-in-vim', 1)
endfunction