-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
67 lines (48 loc) · 1.34 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
set nocompatible
" --- General settings ---
set backspace=indent,eol,start
"Display line/column number in bottom left
set ruler
set showcmd
"Highlight as you type pattern
set incsearch
"Highlight search
set hlsearch
"enable the mouse
"set mouse=a
" Display cursor line highlight
set cursorline
" Always show status line
set laststatus=2
" Load pathogen plugins
execute pathogen#infect()
syntax on
filetype plugin indent on
syntax enable
" Solarized stuff
set background=dark
let g:solarized_termtrans=1
colorscheme solarized
let g:airline_powerline_fonts = 1
let g:airline_theme='dark'
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.linenr = '␊'
let g:airline_symbols.linenr = ''
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.whitespace = 'Ξ'
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" Auto wrap git commmit to 72 columns + spell cgecker
autocmd Filetype gitcommit setlocal spell textwidth=72