mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-15 06:43:50 -05:00
Never allow cursor on pad windows
This commit is contained in:
@@ -64,7 +64,7 @@ function! s:setup_pad(bufnr, vert, size)
|
|||||||
execute win . 'wincmd w'
|
execute win . 'wincmd w'
|
||||||
execute (a:vert ? 'vertical ' : '') . 'resize ' . max([0, a:size])
|
execute (a:vert ? 'vertical ' : '') . 'resize ' . max([0, a:size])
|
||||||
augroup goyop
|
augroup goyop
|
||||||
autocmd WinEnter <buffer> call s:blank()
|
autocmd WinEnter,CursorMoved <buffer> call s:blank()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" To hide scrollbars of pad windows in GVim
|
" To hide scrollbars of pad windows in GVim
|
||||||
|
|||||||
Reference in New Issue
Block a user