mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-15 08:09:11 +08:00
Add 2048
This commit is contained in:
parent
f6fc48f991
commit
fe74ebec17
10
autoload/SpaceVim/layers/games.vim
Normal file
10
autoload/SpaceVim/layers/games.vim
Normal file
@ -0,0 +1,10 @@
|
||||
function! SpaceVim#layers#games#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, ['wsdjeg/2048.vim', {'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
|
Loading…
x
Reference in New Issue
Block a user