Merge branch 'master' of gitorious.org:ryuslash/dotfiles
This commit is contained in:
commit
b7630b2afa
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
@ -3,12 +3,13 @@ set background:dark
|
||||||
colorscheme earendel
|
colorscheme earendel
|
||||||
|
|
||||||
au BufRead ~/.mutt/temp/mutt-* set tw=72
|
au BufRead ~/.mutt/temp/mutt-* set tw=72
|
||||||
|
au BufRead .git/COMMIT_EDITMSG set tw=72
|
||||||
|
|
||||||
autocmd FileType make setlocal noexpandtab
|
autocmd FileType make setlocal noexpandtab
|
||||||
autocmd BufWritePre *.php :%s/\s\+$//e
|
autocmd BufWritePre *.php :%s/\s\+$//e
|
||||||
|
|
||||||
" Highlight everything right of the 80th column
|
" Highlight everything right of the 80th column
|
||||||
highlight rightMargin ctermfg=darkred guifg=darkred
|
highlight rightMargin ctermfg=red guifg=red
|
||||||
autocmd BufWinEnter * let w:m1=matchadd('rightMargin', '\%>79v', -1)
|
autocmd BufWinEnter * let w:m1=matchadd('rightMargin', '\%>79v', -1)
|
||||||
" Highlight all trailing whitespace
|
" Highlight all trailing whitespace
|
||||||
highlight trailWhite ctermbg=darkgray guibg=darkgray
|
highlight trailWhite ctermbg=darkgray guibg=darkgray
|
||||||
|
|
Loading…
Reference in a new issue