X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/8cbd4ff09c6ad07aff34ceddcf37f6b74148a943..7cb68b21872488f820f4a05f61c0617d2895a729:/vimrc?ds=inline diff --git a/vimrc b/vimrc index 3069553..fdcc917 100755 --- a/vimrc +++ b/vimrc @@ -96,7 +96,7 @@ runtime! macros/matchit.vim highlight Keyword cterm=italic " FZF config -set rtp+=/usr/local/opt/fzf +set rtp+=$FZF_VIM_PATH " Inserts the path of the currently edited file into a command noremap :FZF @@ -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 " @@ -202,28 +213,27 @@ Plug 'leafOfTree/vim-svelte-plugin' Plug 'bumaociyuan/vim-swift' Plug 'udalov/kotlin-vim' Plug 'tikhomirov/vim-glsl' +Plug 'jparise/vim-graphql' +Plug 'digitaltoad/vim-pug' " Editing -Plug 'jiangmiao/auto-pairs' Plug 'tpope/vim-endwise' +Plug 'rstacruz/vim-closer' Plug 'michaeljsmith/vim-indent-object' +Plug 'editorconfig/editorconfig-vim' + +" Distraction free editing +Plug 'junegunn/goyo.vim' +Plug 'junegunn/limelight.vim' " Tools Plug 'editorconfig/editorconfig-vim' Plug 'dense-analysis/ale' -if has('nvim') - Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } -else - Plug 'Shougo/deoplete.nvim' - Plug 'roxma/nvim-yarp' - Plug 'roxma/vim-hug-neovim-rpc' -endif +Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'vim-scripts/LargeFile' Plug 'tpope/vim-fugitive' Plug 'milkypostman/vim-togglelist' Plug 'jremmen/vim-ripgrep' -Plug 'jparise/vim-graphql' - " List ends here. Plugins become visible to Vim after this call. call plug#end()