1
0
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:
monkeydterry 2017-01-01 22:11:19 +08:00
parent 3511e02efc
commit 7d00a4279c

View File

@ -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