dotfiles/vim/plugs.vim

86 lines
2.6 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'
" Asynchronous Linting Engine
Plug 'https://github.com/dense-analysis/ale'
" Open files/recent files/tags quickly
Plug 'https://github.com/ctrlpvim/ctrlp.vim'
" Ctrlp requires gutentags
Plug 'https://github.com/ludovicchabant/vim-gutentags.git'
" 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'
" Search
Plug 'https://github.com/mileszs/ack.vim'
" 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'
if g:uname == "Darwin"
" mac
Plug '/usr/local/opt/fzf'
elseif g:uname == "Linux"
Plug '/usr/bin/fzf'
end
" snipmate
Plug 'https://github.com/MarcWeber/vim-addon-mw-utils'
Plug 'https://github.com/tomtom/tlib_vim'
Plug 'https://github.com/garbas/vim-snipmate'
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'
" No RGB, no party
let vim_razer = expand('~/projects_razer/vim-razer')
if isdirectory(vim_razer)
Plug vim_razer
endif
call plug#end()