mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 13:01:31 +01:00
79 lines
2.4 KiB
VimL
79 lines
2.4 KiB
VimL
" 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'
|
|
" Csv files 🤦"
|
|
Plug 'https://github.com/chrisbra/csv.vim', {'on': 'CSV'}
|
|
" 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' }
|
|
" status line
|
|
Plug 'vim-airline/vim-airline'
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
" 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'
|
|
|
|
" Meson + Ninja
|
|
Plug 'https://github.com/igankevich/mesonic'
|
|
|
|
" 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'
|
|
|
|
" snippets
|
|
Plug 'https://github.com/SirVer/ultisnips'
|
|
Plug 'https://github.com/honza/vim-snippets'
|
|
|
|
" 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
|
|
Plug 'https://github.com/bfrg/vim-cpp-modern'
|
|
Plug 'https://github.com/rust-lang/rust.vim'
|
|
Plug 'https://github.com/vim-scripts/nginx.vim'
|
|
Plug 'https://github.com/plasticboy/vim-markdown'
|
|
Plug 'https://github.com/cespare/vim-toml'
|
|
Plug 'https://github.com/vim-scripts/iptables'
|
|
Plug 'https://github.com/leafoftree/vim-vue-plugin'
|
|
Plug 'https://github.com/hashivim/vim-terraform'
|
|
Plug 'https://github.com/fatih/vim-go'
|
|
|
|
Plug 'epheien/termdbg'
|
|
|
|
Plug 'https://github.com/alfredodeza/pytest.vim'
|
|
|
|
" No RGB, no party
|
|
let vim_razer = expand('~/projects_razer/vim-razer')
|
|
if isdirectory(vim_razer)
|
|
Plug vim_razer
|
|
endif
|
|
call plug#end()
|