X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/8cbd4ff09c6ad07aff34ceddcf37f6b74148a943..0d9acf5febc7f45669e735f7d2bc54b65568c4e4:/vimrc?ds=inline diff --git a/vimrc b/vimrc index 3069553..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 " @@ -204,10 +215,14 @@ Plug 'udalov/kotlin-vim' Plug 'tikhomirov/vim-glsl' " Editing -Plug 'jiangmiao/auto-pairs' 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'