X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/62cd2be5faf5d6523656b4245d1790c99fb5af9f..e19087bc292678a526a8c780bbdc58b38dcecc2c:/vimrc diff --git a/vimrc b/vimrc index d16ba35..1923fcf 100755 --- a/vimrc +++ b/vimrc @@ -118,6 +118,9 @@ let g:ale_fixers = { \} let g:ale_fix_on_save = 1 +" Svelte Config +let g:vim_svelte_plugin_use_typescript = 1 + " Deoplete config let g:deoplete#enable_at_startup = 1 inoremap pumvisible() ? "\" : "\" @@ -187,14 +190,17 @@ vnoremap :m '<-2gv=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 :Limelight!!== -inoremap :Limelight!!==gi -vnoremap :Limelight!!gv=gv -nnoremap :Goyo== -inoremap :Goyo==gi -vnoremap :Goyogv=gv +nnoremap f :Limelight!!== +inoremap f :Limelight!!==gi +vnoremap f :Limelight!!gv=gv +nnoremap g :Goyo== +inoremap g :Goyo==gi +vnoremap g :Goyogv=gv " " Plug Config @@ -209,11 +215,16 @@ Plug 'mustache/vim-mode' Plug 'othree/yajs.vim' Plug 'ARM9/snes-syntax-vim' Plug 'posva/vim-vue' +Plug 'leafgarland/typescript-vim' 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' +Plug 'https://git.sr.ht/~torresjrjr/gemini.vim' +Plug 'rust-lang/rust.vim' +Plug 'dart-lang/dart-vim-plugin' " Editing Plug 'tpope/vim-endwise' @@ -228,13 +239,7 @@ 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' @@ -242,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