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