2010-04-08 19:06:46 +00:00
|
|
|
if $MONO != "yes"
|
|
|
|
set t_Co=256 " Set to 256 color mode.
|
|
|
|
syntax on " Enable syntax highlighting.
|
|
|
|
colorscheme darkburn " Set color scheme.
|
|
|
|
set number " Enable line numbering.
|
|
|
|
endif
|
|
|
|
set nowrap " Disable word wrap.
|
|
|
|
set tabstop=4 " Set tab to 4 characters.
|
|
|
|
set smartindent " Enable smart indent.
|
2010-04-06 13:06:12 +00:00
|
|
|
set autoindent
|
2010-04-08 19:06:46 +00:00
|
|
|
set shiftwidth=4 " Set smartindent width to 4 characters.
|
|
|
|
set hlsearch " Highlight search and increment search.
|
2010-04-06 13:06:12 +00:00
|
|
|
set incsearch
|
2010-04-08 19:06:46 +00:00
|
|
|
set showmatch " Show matching brackets.
|
|
|
|
set nomodeline " Disable modeline support.
|
2010-04-06 13:06:12 +00:00
|
|
|
set expandtab
|
|
|
|
set softtabstop=4
|
2010-04-08 19:06:46 +00:00
|
|
|
set showcmd " Show partial command in status line.
|
|
|
|
set ignorecase " Case insensitive searching.
|
|
|
|
set smartcase " Smart case matching.
|
|
|
|
set autowrite " Save before switching buffers.
|
2010-04-06 13:06:12 +00:00
|
|
|
|
2010-04-08 19:06:46 +00:00
|
|
|
au BufNewFile,BufRead *.txt set ft=text
|
|
|
|
au FileType text set tw=72 spell spelllang=en_us nonumber
|
2010-04-06 13:06:12 +00:00
|
|
|
|
|
|
|
au FileType mail set tw=72 spell spelllang=en_us nonumber
|
|
|
|
au FileType gitcommit set tw=72 spell spelllang=en_us nonumber
|