From 72470adbe7c1ecfb42b67ee1be527292f5d3cc93 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 30 Jun 2022 21:25:14 -0400 Subject: [PATCH] Change Goyo and Limelight vimrc settings --- .vimrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index b115ae8..315bd9f 100644 --- a/.vimrc +++ b/.vimrc @@ -89,8 +89,9 @@ nnoremap we :VimwikiAll2HTML nnoremap wz :VimwikiIndex :Goyo nnoremap wg :VimwikiGoto nnoremap z :Goyo -nnoremap Z :Goyo 101x100% +nnoremap Z :Goyo 105 nnoremap l :Limelight +nnoremap L :Limelight! " Allows you to use // in order to search for the visually selected text vnoremap // y/\V=escape(@",'/\') @@ -176,7 +177,10 @@ let g:vimwiki_list = [{'path': expand('~/.wiki/')}] let g:nnn#layout = {'left': '~20%'} let g:nnn#command = 'nnn -eHo' -let g:limelight_conceal_ctermfg = 'darkgrey' +let g:limelight_conceal_ctermfg = 'grey' + +let g:goyo_width = 85 +let g:goyo_height = '100%' augroup ft_jsx au! @@ -212,7 +216,7 @@ endif augroup goyo_hooks au! - autocmd User GoyoEnter Limelight - autocmd User GoyoLeave Limelight! + autocmd User GoyoEnter set number + autocmd User GoyoLeave hi Normal ctermbg=NONE augroup END