Updated .gvimrc

Updated .gvimrc - one of the best light-weight editor out there.

".gvimrc
" Arthur Kao
" 20051213
syntax on
filetype on
colorscheme desert
set guifont=Terminal:h10:cANSI
set nocompatible "vim not vi
set lines=50
set columns=125
set textwidth=0 "no wordwrap
set tabstop=4
set showmatch
set autoindent
set shiftwidth=4 "indent 4 spaces
set expandtab
set nomh "don't hide the mouse
set nobackup "no backup ~
set nu "line number
set showmode "show current mode
"Search Options
set ignorecase
set smartcase
set incsearch
set history=500 "command line history
"Remove Toolbar
set guioptions-=T
"From - http://www.stripey.com/vim/vimrc.html
"for CSS, also have things in braces indented:
autocmd FileType css set smartindent
"for HTML, generally format text, but if a long line has been created leave it
"alone when editing:
autocmd FileType html set formatoptions+=tl
"for both CSS and HTML, use genuine tab characters for indentation, to make
"files a few bytes smaller:
autocmd FileType html,css set noexpandtab tabstop=2

Category: Software


Leave a Reply