1
- set background = light
2
- colorscheme darkblue
3
- set fileencodings = utf- 8 - bom,ucs- bom,utf- 8 ,cp936,gbk,gb18030,ucs,big5
1
+ set nocompatible " be iMproved, required
2
+ filetype on " required for compatibility with Mac OS X, See issue #167
3
+ filetype off " required
4
+
5
+ " set the runtime path to include Vundle and initialize
6
+ set rtp += ~/.vim/bundle/Vundle.vim
7
+ call vundle#begin ()
8
+ " alternatively, pass a path where Vundle should install plugins
9
+ " call vundle#begin('~/some/path/here')
10
+
11
+ " let Vundle manage Vundle, required
12
+ Plugin ' VundleVim/Vundle.vim'
13
+
14
+ Plugin ' Valloric/YouCompleteMe'
15
+ Plugin ' vim-airline/vim-airline'
16
+ Plugin ' vim-airline/vim-airline-themes'
17
+ Plugin ' kien/ctrlp.vim'
18
+ Plugin ' edkolev/tmuxline.vim'
19
+ Plugin ' scrooloose/nerdtree'
20
+ Plugin ' scrooloose/syntastic'
21
+ Plugin ' scrooloose/nerdcommenter'
22
+ Plugin ' plasticboy/vim-markdown'
23
+ Plugin ' Yggdroot/indentLine'
24
+ " All of your Plugins must be added before the following line
25
+ call vundle#end () " required
26
+ filetype plugin indent on " required
27
+ " To ignore plugin indent changes, instead use:
28
+ " filetype plugin on
29
+ "
30
+ " Brief help
31
+ " :PluginList - lists configured plugins
32
+ " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
33
+ " :PluginSearch foo - searches for foo; append `!` to refresh local cache
34
+ " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
35
+ "
36
+ " see :h vundle for more details or wiki for FAQ
37
+ " Put your non-Plugin stuff after this line
4
38
5
- set nocompatible
6
39
set ruler
7
40
set backspace = indent ,eol ,start
8
- set softtabstop = 4
9
- set shiftwidth = 4
10
- set tabstop = 4
11
41
set showmatch
12
- set incsearch
13
- set hlsearch
42
+ set hlsearch incsearch smartcase ignorecase
14
43
set showcmd
15
44
16
45
set mouse = nicr mousemodel = extend
@@ -22,20 +51,17 @@ set smartindent
22
51
set autoindent
23
52
set noexpandtab
24
53
54
+ set list listchars = tab :→\ ,trail: ·
55
+
25
56
" force 256 color
26
57
set t_Co = 256
27
58
28
- " pathogen
29
- call pathogen#infect ()
30
-
31
- " use airline instead
32
- " set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
33
-
34
59
syntax on
35
60
36
61
filetype plugin indent on
37
62
38
63
map <F2> <Esc> :1,$!xmllint --format -<CR>
64
+ cmap w!! w !sudo tee % > /dev/null
39
65
40
66
if ! has (' gui_running' )
41
67
set ttimeoutlen = 10
@@ -70,13 +96,14 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTree
70
96
" Ctrl-P
71
97
let g: ctrlp_map = ' <c-p>'
72
98
let g: ctrlp_cmd = ' CtrlP'
73
-
74
- " bufferline
75
- let g: bufferline_echo= 0
76
- set statusline = % {bufferline#generate_string ()}
99
+ let g: ctrlp_working_path_mode = ' ra'
77
100
78
101
" airline
102
+ let g: airline_powerline_fonts = 0
79
103
let g: airline_theme= ' badwolf'
80
104
105
+ " tmuxline
106
+ let g: tmuxline_powerline_separators = 0
107
+
81
108
" YCM
82
109
let g: ycm_confirm_extra_conf = 0
0 commit comments