1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00

Add SPC t m T

This commit is contained in:
wsdjeg 2017-05-19 01:04:20 +08:00
parent 37140b4fd3
commit b49b8ba3a8

View File

@ -185,4 +185,6 @@ function! SpaceVim#layers#core#statusline#config() abort
\ 'toggle the battery status', 1)
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 't'], 'call SpaceVim#layers#core#statusline#toggle_section("time")',
\ 'toggle the time', 1)
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 'T'], 'if &laststatus == 2 | let &laststatus = 0 | else | let &laststatus = 2 | endif',
\ 'toggle the statuline itself', 1)
endfunction