commit b61899f9bc7fcc52b6cc5b8fa5b691c3c23473e8
parent ddc63451399dff4737949ede47ba7a1f3b422057
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 12 May 2020 15:24:05 +0200
vim: goyo settings
Former-commit-id: 0c6b6af434c1d656144aa76463cb67ecde56ec5b
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/autoload/goyo_custom.vim b/vim/autoload/goyo_custom.vim
@@ -13,14 +13,14 @@ function! goyo_custom#modify_hlgroups()
endfunction
function! goyo_custom#goyo_enter()
call goyo_custom#update_ruler()
- setlocal textwidth=0 wrapmargin=0 wrap linebreak spell
+ setlocal textwidth=0 wrapmargin=0 wrap linebreak spell scrolloff=0
call goyo_custom#modify_hlgroups()
setlocal ruler
autocmd BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI * call goyo_custom#update_ruler()
Limelight
endfunction
function! goyo_custom#goyo_leave()
- setlocal textwidth< wrapmargin< linebreak< wrap< rulerformat< ruler< spell<
+ setlocal textwidth< wrapmargin< linebreak< wrap< rulerformat< ruler< spell< scrolloff
autocmd! BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI
execute "colorscheme ".g:colors_name
unlet g:goyo_wordcount