Mail related changes to .vimrc and .muttrc.

This commit is contained in:
Ryan Cavicchioni 2010-04-06 08:06:12 -05:00
parent af13a87999
commit be85322d81
2 changed files with 37 additions and 1 deletions

View File

@ -1,5 +1,5 @@
## general settings ## general settings
set editor = "vim -u ~/.vimrc-mail" set editor = "vim"
set sort = reverse-threads set sort = reverse-threads
set use_envelope_from = yes set use_envelope_from = yes
set use_from = yes set use_from = yes

36
.vimrc Normal file
View File

@ -0,0 +1,36 @@
" Set to 256 color mode.
set t_Co=256
" Enable syntax highlighting.
syntax on
" Set color scheme.
colorscheme darkburn
" Enable line numbering.
set number
" Disable word wrap.
set nowrap
" Set tab to 4 characters.
set tabstop=4
" Enable smart indent.
set smartindent
set autoindent
" Set smartindent width to 4 characters.
set shiftwidth=4
" Highlight search and increment search.
set hlsearch
set incsearch
" Show matching brackets.
set showmatch
" Disable modeline support.
set nomodeline
set expandtab
set softtabstop=4
if $MONO == "yes"
colorscheme default
syntax off
set nonumber
endif
au FileType mail set tw=72 spell spelllang=en_us nonumber
au FileType gitcommit set tw=72 spell spelllang=en_us nonumber