1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:50:05 +08:00

Add mode config

This commit is contained in:
wsdjeg 2017-04-20 19:14:30 +08:00
parent 70c465086e
commit c789d6ed03
3 changed files with 11 additions and 2 deletions

View File

@ -31,12 +31,16 @@ function! SpaceVim#custom#autoconfig(...) abort
endfunction
function! s:awesome_mode() abort
let config = []
let sep = SpaceVim#api#import('file').separator
let f = fnamemodify(g:Config_Main_Home, ':h') . join(['', 'mode', 'dark_powered.vim'], sep)
let config = readfile(f, '')
call s:write_to_config(config)
endfunction
function! s:basic_mode() abort
let config = []
let sep = SpaceVim#api#import('file').separator
let f = fnamemodify(g:Config_Main_Home, ':h') . join(['', 'mode', 'basic.vim'], sep)
let config = readfile(f, '')
call s:write_to_config(config)
endfunction

3
mode/basic.vim Normal file
View File

@ -0,0 +1,3 @@
" Basic mode of SpaceVim, generated by SpaceVim automatically.

2
mode/dark_powered.vim Normal file
View File

@ -0,0 +1,2 @@
" Dark powered mode of SpaceVim, generated by SpaceVim automatically.