Restructured vimrc.

This commit is contained in:
Ryan Cavicchioni 2010-04-08 14:06:46 -05:00
parent 2f72bbad78
commit 07e426f246

47
vimrc
View File

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