blob: d4781725418a385de7b906342e54a5325945d6db (
plain)
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
|
syntax on
set background:dark
colorscheme earendel
au BufRead ~/.mutt/temp/mutt-* set tw=72
au BufRead .git/COMMIT_EDITMSG set tw=72
autocmd FileType make setlocal noexpandtab
autocmd BufWritePre *.php :%s/\s\+$//e
" Highlight everything right of the 80th column
highlight rightMargin ctermfg=red guifg=red
autocmd BufWinEnter * let w:m1=matchadd('rightMargin', '\%>79v', -1)
" Highlight all trailing whitespace
highlight trailWhite ctermbg=darkgray guibg=darkgray
autocmd BufWinEnter * let w:m2=matchadd('trailWhite', '\s\+$', -1)
set expandtab
set number
set smartindent
set tabstop=4
set shiftwidth=4
set nowrap
" Swap file location
set backupdir=/var/tmp//
set directory=/var/tmp//
|