-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_vimrc.bundles
42 lines (34 loc) · 959 Bytes
/
dot_vimrc.bundles
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
if &compatible
set nocompatible
end
" Remove declared plugins
function! s:UnPlug(plug_name)
if has_key(g:plugs, a:plug_name)
call remove(g:plugs, a:plug_name)
endif
endfunction
command! -nargs=1 UnPlug call s:UnPlug(<args>)
let g:has_async = v:version >= 800 || has('nvim')
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-surround'| " useful shortcuts: ysiw": 'yank surround inside word'
Plug 'vim-scripts/tComment'
Plug 'tpope/vim-abolish'
" Plug 'christoomey/vim-run-interactive'
" Plug 'tpope/vim-commentary'
" Plug 'tpope/vim-fugitive'
" Plug 'jiangmiao/auto-pairs'
" Plug 'mcchrish/nnn.vim'
" Plug 'preservim/nerdtree'
" Plug 'ryanoasis/vim-devicons'
if g:has_async
Plug 'dense-analysis/ale'
endif
if filereadable(expand("~/.vimrc.bundles.local"))
source ~/.vimrc.bundles.local
endif
call plug#end()
" Set color scheme
colorscheme gruvbox