-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
56 lines (48 loc) · 1017 Bytes
/
.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
set paste
set nocompatible
syntax on
colorscheme torte
set number
set cursorline
set ruler
set shiftwidth=4
set autoindent
set softtabstop=4
set nobackup
set autochdir
filetype off
set ignorecase smartcase
set hlsearch
set noerrorbells
set smartindent
set laststatus=2
set foldenable
set foldmethod=syntax
set foldlevelstart=99"设置打开文件默认不折叠
set foldcolumn=0
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'The-NERD-tree'
Bundle 'Lokaltog/vim-powerline'
" 设置NERDTree的选项
let NERDTreeMinimalUI=1
let NERDChristmasTree=1
" Give a shortcut key to NERD Tree
"map :NERDTreeToggle
"
" " 设置powerline状态栏
set nocompatible
set t_Co=256
set enc=utf-8
let termencoding=&encoding
set fileencodings=utf-8,gbk,ucs-bom,cp936
let g:Powerline_symbols = 'fancy'
set guifont=Ubuntu\ Mono\ for\ Powerline\ 12
filetype plugin indent on
"powerline{
"set guifont=PowerlineSymbols\ for\ Powerline
set nocompatible
set t_Co=256
let g:Powerline_symbols = 'fancy'
"}