mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-16 15:23:50 -05:00
Set sidescroll=1 sidescrolloff=0 (#6)
This commit is contained in:
@@ -123,7 +123,9 @@ function! s:goyo_on(width)
|
||||
\ 'winwidth': &winwidth,
|
||||
\ 'winheight': &winheight,
|
||||
\ 'statusline': &statusline,
|
||||
\ 'ruler': &ruler
|
||||
\ 'ruler': &ruler,
|
||||
\ 'sidescroll': &sidescroll,
|
||||
\ 'sidescrolloff': &sidescrolloff
|
||||
\ }
|
||||
if has('gui_running')
|
||||
let t:goyo_revert.guioptions = &guioptions
|
||||
@@ -162,6 +164,8 @@ function! s:goyo_on(width)
|
||||
set fillchars+=vert:\
|
||||
set fillchars+=stl:.
|
||||
set fillchars+=stlnc:\
|
||||
set sidescroll=1
|
||||
set sidescrolloff=0
|
||||
|
||||
" Hide left-hand scrollbars
|
||||
if has('gui_running')
|
||||
|
||||
Reference in New Issue
Block a user