mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-10-31 18:01:30 +01:00
68 lines
2.1 KiB
VimL
68 lines
2.1 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'
|
|
" Asynchronous Linting Engine
|
|
Plug 'https://github.com/dense-analysis/ale'
|
|
" Open files/recent files/tags quickly
|
|
Plug 'https://github.com/ctrlpvim/ctrlp.vim'
|
|
" 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'
|
|
" Easily explore open buffers
|
|
Plug 'https://github.com/vim-scripts/bufexplorer.zip'
|
|
" 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'
|
|
|
|
" snipmate
|
|
Plug 'https://github.com/MarcWeber/vim-addon-mw-utils'
|
|
Plug 'https://github.com/tomtom/tlib_vim'
|
|
Plug 'https://github.com/garbas/vim-snipmate'
|
|
|
|
" 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/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 '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()
|