X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/650123f4269e48a8166fb53a59379b55396e8fce..0d9acf5febc7f45669e735f7d2bc54b65568c4e4:/vimrc 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'