X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/4a9e14b0b2f3b4c23d9d4fabad2ae46ce6c6c4a5..0d9acf5febc7f45669e735f7d2bc54b65568c4e4:/vimrc?ds=inline diff --git a/vimrc b/vimrc index cbfdad2..d457e33 100755 --- a/vimrc +++ b/vimrc @@ -185,6 +185,17 @@ inoremap :m .-2==gi vnoremap :m '>+1gv=gv vnoremap :m '<-2gv=gv +" Limelight / Goyo config + +autocmd! User GoyoEnter Limelight +autocmd! User GoyoLeave Limelight! +nnoremap :Limelight!!== +inoremap :Limelight!!==gi +vnoremap :Limelight!!gv=gv +nnoremap :Goyo== +inoremap :Goyo==gi +vnoremap :Goyogv=gv + " " Plug Config " @@ -208,6 +219,10 @@ Plug 'tpope/vim-endwise' Plug 'rstacruz/vim-closer' Plug 'michaeljsmith/vim-indent-object' +" Distraction free editing +Plug 'junegunn/goyo.vim' +Plug 'junegunn/limelight.vim' + " Tools Plug 'editorconfig/editorconfig-vim' Plug 'dense-analysis/ale'