From 934420d20af9e29e328f58c5b4ac4e4736c3afcd Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 7 Apr 2023 22:51:17 +0200 Subject: [PATCH] Update plugin config --- .vimrc | 96 ++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 70 insertions(+), 26 deletions(-) diff --git a/.vimrc b/.vimrc index ef7d4a9..5b7b109 100644 --- a/.vimrc +++ b/.vimrc @@ -114,8 +114,11 @@ nn n :set nu! rnu! nn ec :vs $MYVIMRC nn so :so % -" Plugins -""""""""" +" }}} + +" Plugins {{{ +" + " Plug setup {{{ " Plugin build helpers {{{ @@ -131,13 +134,22 @@ endfunction " }}} call plug#begin() +if !exists('g:vscode') " Coc Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'github/copilot.vim' +endif " General Plug 'unblevable/quick-scope' +Plug 'Shougo/context_filetype.vim' Plug 'tpope/vim-commentary' +Plug 'tpope/vim-obsession' Plug 'machakann/vim-sandwich' +Plug 'editorconfig/editorconfig-vim' +Plug 'honza/vim-snippets' +Plug 'chrisbra/unicode.vim' +Plug 'ap/vim-css-color' +" Fzf Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } Plug 'junegunn/fzf.vim' " JS and TypeScript @@ -160,12 +172,20 @@ Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer') } " TidalCycles Plug 'supercollider/scvim' Plug 'tidalcycles/vim-tidal' +" GLSL +Plug 'tikhomirov/vim-glsl' +Plug 'timtro/glslView-nvim' +" Git +Plug 'airblade/vim-gitgutter' +" Jupyter notebooks +Plug 'goerz/jupytext.vim' +" OpenSCAD +Plug 'sirtaj/vim-openscad' call plug#end() +" }}} -" Plugin config -""""""""""""""" +" Plugin config {{{ -" Coc " `.../sandwich` {{{ nmap s xmap s @@ -191,6 +211,8 @@ let g:coc_global_extensions = [ \'coc-clangd', \'coc-bibtex' \] + +" " Autocomplete " @@ -261,26 +283,37 @@ imap (copilot-prev) imap