2020-12-06 02:29:15 +01:00
|
|
|
" Install vim-plug if not installed already (requires curl)
|
|
|
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
|
|
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
|
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
|
|
autocmd VimEnter * PlugInstall --sync | source ~/.vimrc
|
|
|
|
endif
|
|
|
|
|
|
|
|
" Plugins
|
|
|
|
call plug#begin('~/.vim/vim-plug')
|
|
|
|
" Basic vim config
|
|
|
|
Plug 'tpope/vim-sensible'
|
|
|
|
" Colorscheme
|
|
|
|
Plug 'https://github.com/morhetz/gruvbox'
|
2021-03-15 10:38:49 +01:00
|
|
|
" Csv files 🤦"
|
2021-11-16 14:42:56 +01:00
|
|
|
Plug 'https://github.com/mechatroner/rainbow_csv', { 'for': 'csv' }
|
|
|
|
Plug 'https://github.com/chrisbra/csv.vim', {'for': 'csv'}
|
2020-12-06 02:29:15 +01:00
|
|
|
" Asynchronous Linting Engine
|
|
|
|
Plug 'https://github.com/dense-analysis/ale'
|
|
|
|
" Git
|
|
|
|
Plug 'https://github.com/tpope/vim-fugitive'
|
|
|
|
" Comment shit easily
|
|
|
|
Plug 'https://github.com/tpope/vim-commentary'
|
|
|
|
" Browse file system
|
|
|
|
Plug 'https://github.com/scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
2020-12-07 15:36:18 +01:00
|
|
|
" status line
|
|
|
|
Plug 'vim-airline/vim-airline'
|
|
|
|
Plug 'vim-airline/vim-airline-themes'
|
2020-12-06 02:29:15 +01:00
|
|
|
" Insert parentheses in pairs
|
|
|
|
Plug 'https://github.com/jiangmiao/auto-pairs'
|
|
|
|
Plug 'https://github.com/amix/open_file_under_cursor.vim'
|
|
|
|
" Multi cursor
|
|
|
|
Plug 'https://github.com/mg979/vim-visual-multi'
|
|
|
|
" Yank history
|
|
|
|
Plug 'https://github.com/maxbrunsfeld/vim-yankstack'
|
|
|
|
" Mark indentation level
|
|
|
|
Plug 'https://github.com/nathanaelkane/vim-indent-guides'
|
|
|
|
|
2021-09-26 17:32:11 +02:00
|
|
|
" Meson + Ninja
|
|
|
|
Plug 'https://github.com/igankevich/mesonic'
|
|
|
|
|
2021-09-30 12:41:07 +02:00
|
|
|
" fzf
|
|
|
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
|
|
|
Plug 'junegunn/fzf.vim'
|
|
|
|
" Open tags with fzf's :Tags
|
|
|
|
Plug 'https://github.com/ludovicchabant/vim-gutentags.git'
|
2021-03-15 10:29:08 +01:00
|
|
|
|
2021-09-30 12:42:37 +02:00
|
|
|
" snippets
|
|
|
|
Plug 'https://github.com/SirVer/ultisnips'
|
2021-01-15 01:43:43 +01:00
|
|
|
Plug 'https://github.com/honza/vim-snippets'
|
2020-12-06 02:29:15 +01:00
|
|
|
|
|
|
|
" Git gutter line
|
|
|
|
Plug 'https://github.com/airblade/vim-gitgutter'
|
|
|
|
" Zero distractions
|
|
|
|
Plug 'https://github.com/junegunn/goyo.vim'
|
|
|
|
|
|
|
|
" Highlight lines not covered by tests
|
|
|
|
Plug 'https://github.com/mgedmin/coverage-highlight.vim'
|
|
|
|
|
|
|
|
"Languages
|
2021-11-16 14:46:30 +01:00
|
|
|
Plug 'https://github.com/bfrg/vim-cpp-modern', {'for': 'cpp'}
|
|
|
|
Plug 'https://github.com/rust-lang/rust.vim', {'for': 'rust'}
|
|
|
|
Plug 'https://github.com/vim-scripts/nginx.vim', {'for': 'nginx'}
|
|
|
|
Plug 'https://github.com/plasticboy/vim-markdown', {'for': 'markdown'}
|
|
|
|
Plug 'https://github.com/cespare/vim-toml', {'for': 'toml'}
|
|
|
|
Plug 'https://github.com/vim-scripts/iptables', {'for': 'iptables'}
|
|
|
|
Plug 'https://github.com/leafoftree/vim-vue-plugin', {'for': 'vue'}
|
|
|
|
Plug 'https://github.com/hashivim/vim-terraform', {'for': 'terraform'}
|
|
|
|
Plug 'https://github.com/fatih/vim-go', {'for': 'go'}
|
2020-12-06 02:29:15 +01:00
|
|
|
|
2021-11-16 14:46:30 +01:00
|
|
|
" Plug 'epheien/termdbg'
|
2020-12-06 02:29:15 +01:00
|
|
|
|
2021-11-16 14:46:30 +01:00
|
|
|
Plug 'https://github.com/alfredodeza/pytest.vim', {'for': 'python'}
|
2021-10-01 10:38:35 +02:00
|
|
|
|
2020-12-06 02:29:15 +01:00
|
|
|
" No RGB, no party
|
|
|
|
let vim_razer = expand('~/projects_razer/vim-razer')
|
|
|
|
if isdirectory(vim_razer)
|
|
|
|
Plug vim_razer
|
|
|
|
endif
|
|
|
|
call plug#end()
|