20 lines
421 B
VimL
20 lines
421 B
VimL
function! myspacevim#before() abort
|
|
set timeoutlen=120
|
|
set cc=110
|
|
set textwidth=110
|
|
set formatoptions+=t
|
|
au BufRead,BufNewFile *.md setlocal textwidth=110 formatoptions+=t
|
|
set sw=2
|
|
set mouse=
|
|
endfunction
|
|
|
|
|
|
function! myspacevim#after() abort
|
|
set timeoutlen=150
|
|
set cc=110
|
|
set textwidth=110
|
|
set formatoptions+=t
|
|
au BufRead,BufNewFile * setlocal textwidth=110 formatoptions+=t
|
|
set sw=2
|
|
endfunction
|