]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Fix config for goyo and limelight
authorRuben Beltran del Rio <redacted>
Mon, 29 May 2023 12:50:15 +0000 (14:50 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 29 May 2023 12:50:15 +0000 (14:50 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 01bb79b52d1b04328069e0da6a16bd60818ae6cb..1923fcf3c97292b9d36948da5aade28238a7ee1e 100755 (executable)
--- a/vimrc
+++ b/vimrc
@@ -190,14 +190,17 @@ vnoremap <C-S-k> :m '<-2<CR>gv=gv
 
 " Limelight / Goyo config
 
+let g:limelight_conceal_ctermfg = 'gray'
+let g:limelight_conceal_guifg = 'DarkGray'
+
 autocmd! User GoyoEnter Limelight
 autocmd! User GoyoLeave Limelight!
-nnoremap <C-S-l> :Limelight!!<CR>==
-inoremap <C-S-l> <Esc>:Limelight!!<CR>==gi
-vnoremap <C-S-l> :<C-u>Limelight!!<CR>gv=gv
-nnoremap <C-S-g> :Goyo<CR>==
-inoremap <C-S-g> <Esc>:Goyo<CR>==gi
-vnoremap <C-S-g> :<C-u>Goyo<CR>gv=gv
+nnoremap <leader>f :Limelight!!<CR>==
+inoremap <leader>f <Esc>:Limelight!!<CR>==gi
+vnoremap <leader>f :<C-u>Limelight!!<CR>gv=gv
+nnoremap <leader>g :Goyo<CR>==
+inoremap <leader>g <Esc>:Goyo<CR>==gi
+vnoremap <leader>g :<C-u>Goyo<CR>gv=gv
 
 "
 " Plug Config