-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.vimrc
More file actions
29 lines (25 loc) · 671 Bytes
/
.vimrc
File metadata and controls
29 lines (25 loc) · 671 Bytes
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
set shell=/bin/sh
if exists('g:vimpager')
" I find this annoying
let g:vimpager.passthrough = 0
else
" Since vimpager uses ASCII color codes, we want to disable vim’s highlighting
colorscheme Tomorrow-Night
syntax on
endif
execute pathogen#infect()
set background=dark
filetype plugin indent on
set number
set shellcmdflag=-ic
set backspace=indent,eol,start
set mouse=a
" Indentation
set expandtab
set shiftwidth=2
set softtabstop=2
au BufRead,BufNewFile *.md set filetype=markdown
au FileType yaml setlocal autoindent
" use the proper non-bright colors for diff syntax highlighting
hi diffRemoved term=NONE ctermfg=001
hi diffAdded term=NONE ctermfg=002