From c878dee518c0af3fbb6470d5932fcec31014d9f3 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Fri, 5 Jan 2018 20:41:40 -0600 Subject: [PATCH] .vimrc: Tweak goyo settings --- .vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 7e1ebb0..e7abf52 100644 --- a/.vimrc +++ b/.vimrc @@ -90,13 +90,17 @@ let g:airline_symbols.maxlinenr = '' let g:gitgutter_enabled = 0 " disable by default " goyo + limelight -let g:goyo_width = 95 +let g:goyo_width = 80 let g:limelight_conceal_ctermfg = 240 +let g:limelight_default_coefficient = '.6' +let g:limelight_paragraph_span = 1 " show adjacent paragraphs +let g:limelight_priority = -1 " don't overrule hlsearch function! s:goyo_enter() if exists('$TMUX') silent !tmux list-panes -F '\#F' | grep -q Z || tmux resize-pane -Z endif + set scrolloff=999 Limelight endfunction @@ -104,6 +108,7 @@ function! s:goyo_leave() if exists('$TMUX') silent !tmux list-panes -F '\#F' | grep -q Z && tmux resize-pane -Z endif + set scrolloff=4 Limelight! endfunction -- 2.43.0