-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
73 lines (58 loc) · 1.48 KB
/
vimrc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
Plugin 'sickill/vim-monokai'
" Keep Plugin commands between vundle#begin/end.
" All of your Plugins must be added before the following line
call vundle#end() " required
" syntax highlighting
syntax on
" display
set showcmd
set showmode
" line numbers
set number
set numberwidth=4
" whitespace, blankspace, word-wrapping
set list
set listchars=tab:▷⋅,trail:⋅,nbsp:⋅
set wrap
set linebreak
set backspace=indent,eol,start
" highlight search results
set incsearch
set hlsearch
" indentation
set shiftwidth=2
set softtabstop=2
set expandtab
set autoindent
set smarttab
set foldmethod=indent "fold based on indent
set foldnestmax=3 "deepest fold is 3 levels
set nofoldenable "dont fold by default
" allow filetype specific plugins and indentation
filetype plugin indent on
" enable mouse
set mouse=a
set ttymouse=xterm2
" colors, sounds
colorscheme monokai
set t_Co=256
set vb t_vb=
" swapfiles
set nobackup
set noswapfile
" misc
set nohidden