commit 728b3dc038dd3a019441298f27d3a4f4b1ca63a1
parent 479690b06b9409e9bf86e90877fbdc6036a6e68b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 31 Jan 2020 20:54:15 +0100
vim: change goyo settings
Former-commit-id: 6ecd6987a5c3c8fed4945ae8d416dbe8e6aa33d6
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/autoload/goyo_custom.vim b/vim/autoload/goyo_custom.vim
@@ -13,13 +13,13 @@ function! goyo_custom#modify_hlgroups()
endfunction
function! goyo_custom#goyo_enter()
call goyo_custom#update_ruler()
- setlocal textwidth=0 wrapmargin=5 wrap spell
+ setlocal textwidth=0 wrapmargin=0 wrap linebreak spell
call goyo_custom#modify_hlgroups()
setlocal ruler
autocmd BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI * call goyo_custom#update_ruler()
endfunction
function! goyo_custom#goyo_leave()
- setlocal textwidth< wrapmargin< wrap< rulerformat< ruler< spell<
+ setlocal textwidth< wrapmargin< linebreak< wrap< rulerformat< ruler< spell<
autocmd! BufEnter,BufReadPost,BufWritePost,TextChanged,TextChangedI
execute "colorscheme ".g:colors_name
unlet g:goyo_wordcount