-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
executable file
·53 lines (45 loc) · 999 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
" vimrc by monkeycz
" 2008/06/30, 2009/08/25, 2012/04/27, 2013/08/24
set nowrap
set tabstop=4
set shiftwidth=4
set number
set showmode
set ruler
set showcmd
set completeopt=longest,menu
set autoindent
set fencs=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set fileformats=unix,dos
set fileformat=unix
set backspace=indent,eol,start
set lbr
set ignorecase
set hlsearch
set incsearch
set nobackup
set mouse=a
set nocompatible
set dy=lastline
set updatetime=500
set history=50
" set noswf
" set tags+=
runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()
filetype plugin on
filetype indent on
syntax on
" let g:molokai_original=1
" colorscheme molokai
colorscheme solarized
set background=light
set background=dark
" colorscheme morning
map <F8> :nohlsearch<CR>:pclose<CR>
map <Tab> :bn<CR>
inoremap <F11> <C-x><C-o>
nmap <F5> :TagbarToggle<CR>
nmap <F4> :NERDTreeTabsToggle<CR>
au BufNewFile,BufRead *.wsgi set filetype=python
au BufNewFile,BufRead *.proto set filetype=proto