1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-19 16:03:45 +08:00
SpaceVim/autoload/SpaceVim/layers/mail.vim
2021-09-19 22:23:23 +08:00

25 lines
811 B
VimL

"=============================================================================
" mail.vim --- SpaceVim mail layer
" Copyright (c) 2016-2021 Wang Shidong & Contributors
" Author: Wang Shidong < wsdjeg at 163.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
function! SpaceVim#layers#mail#plugins() abort
return [
\ ['vim-mail/vim-mail',{ 'merged' : 0, 'loadconf' : 1}],
\ ]
endfunction
function! SpaceVim#layers#mail#config() abort
call SpaceVim#mapping#space#def('nnoremap', ['a', 'm'], 'call mail#client#open()', 'Start mail client', 1)
endfunction
function! SpaceVim#layers#mail#health() abort
call SpaceVim#layers#mail#plugins()
call SpaceVim#layers#mail#config()
return 1
endfunction