mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-15 08:09:11 +08:00
autoresize vim.
Useful when multiple split windows opened.
This commit is contained in:
parent
3511e02efc
commit
7d00a4279c
@ -55,6 +55,7 @@ augroup My_autocmds
|
||||
autocmd FocusLost * call system('synclient touchpadoff=0')
|
||||
autocmd FocusGained * call s:reload_touchpad_status()
|
||||
endif
|
||||
autocmd VimResized * wincmd =
|
||||
augroup END
|
||||
function! s:reload_touchpad_status()
|
||||
if s:touchpadoff
|
||||
|
Loading…
x
Reference in New Issue
Block a user