-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
65 lines (50 loc) · 1.4 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
execute pathogen#infect()
syntax enable
syntax on
filetype plugin indent on
set background=dark
let g:solarized_termtrans = 1
colorscheme solarized
:set number
:set relativenumber
set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
" Always show statusline
set laststatus=2
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
set t_Co=256
"powerline symbols
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = ''
:let g:airline_theme= 'solarized'
set showtabline=2
"recommended settings for syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
"Column width to 80
:set colorcolumn=81
"change length of tab to 4 characters
set softtabstop=4 shiftwidth=4 noexpandtab
"search as characters are hentered
set incsearch
"highlight matches
set hlsearch
"set mapleader to ,
let mapleader=","
"turn off search highlight
nnoremap <leader><space> :nohlsearch<CR>
"move virtically by visual line
nnoremap j gj
nnoremap k gk