summaryrefslogtreecommitdiffstats
path: root/.vim/vimrc
blob: a8cdec28f6f92a2ac07cb0e5ab7ca6cd3410ff8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
set nocompatible        " (Don't) Behave Vi-compatible as much as possible
set tabstop=4           " Number of spaces that <Tab> characters display
set softtabstop=4       " Number of spaces that <Tab> uses while editing
set shiftwidth=4        " Number of spaces to use for autoindent
set expandtab           " Use spaces when <Tab> is inserted
set autoindent          " Take indent for new line from previous line

" Readable diffs
highlight DiffAdd    cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffText   cterm=bold ctermfg=10 ctermbg=88 gui=none guifg=bg guibg=Red