-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_vimrc.bundles
44 lines (35 loc) · 1.18 KB
/
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
43
44
" make sure .vim/bundle works
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
""""""""""""""""""""""""
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
let NERDTreeShowHidden=1
" Open a NERDTree automatically when vim starts up if no files were specified.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" Close vim and NERDTree if no file is open and we try to close vim.
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
" Toggle the NERDTree e.g. with ",-".
nnoremap <leader>- :NERDTreeToggle<CR>
""""""""""""""""""""""""
Plugin 'tpope/vim-surround'
" usage
" - e.g.: cs'" -> for ' -> "
" - e.g.: cs"' -> for " -> '
""""""""""""""""""""""""
Plugin 'ervandew/supertab'
""""""""""""""""""""""""
Plugin 'sheerun/vim-polyglot'
""""""""""""""""""""""""
Plugin 'flazz/vim-colorschemes'
""""""""""""""""""""""""
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
""""""""""""""""""""""""""
Plugin 'ekalinin/Dockerfile.vim'
""""""""""""""""""""""""""
call vundle#end()
filetype plugin indent on