mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
Add SPC t m T
This commit is contained in:
parent
37140b4fd3
commit
b49b8ba3a8
@ -185,4 +185,6 @@ function! SpaceVim#layers#core#statusline#config() abort
|
|||||||
\ 'toggle the battery status', 1)
|
\ 'toggle the battery status', 1)
|
||||||
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 't'], 'call SpaceVim#layers#core#statusline#toggle_section("time")',
|
call SpaceVim#mapping#space#def('nnoremap', ['t', 'm', 't'], 'call SpaceVim#layers#core#statusline#toggle_section("time")',
|
||||||
\ 'toggle the time', 1)
|
\ '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
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user