]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - vimrc
Fix config for goyo and limelight
[rbdr/dotfiles] / vimrc
diff --git a/vimrc b/vimrc
index f967963b8626f3f3ad33c1184dca16cc1749b819..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
@@ -221,6 +224,7 @@ Plug 'jparise/vim-graphql'
 Plug 'digitaltoad/vim-pug'
 Plug 'https://git.sr.ht/~torresjrjr/gemini.vim'
 Plug 'rust-lang/rust.vim'
+Plug 'dart-lang/dart-vim-plugin'
 
 " Editing
 Plug 'tpope/vim-endwise'
@@ -243,3 +247,7 @@ Plug 'jremmen/vim-ripgrep'
 
 " List ends here. Plugins become visible to Vim after this call.
 call plug#end()
+
+if filereadable(expand('~/.vimrc.local'))
+  exe 'source' '~/.vimrc.local'
+endif