-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvimrc
33 lines (22 loc) · 854 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
call pathogen#infect()
syntax on
filetype plugin indent on
map <C-p> :FZF<CR>
map <C-b> :Buffers<CR>
set background=dark
colorscheme solarized
let g:airline_theme='solarized'
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
set spell spelllang=en_nz
set paste
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
highlight ExtraWhitespace ctermbg=red guibg=red
"" The following alternative may be less obtrusive.
"highlight ExtraWhitespace ctermbg=darkgreen guibg=lightgreen
"" Try the following if your GUI uses a dark background.
"highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen
match ExtraWhitespace /\s\+\%#\@<!$/
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(EasyAlign)