My .vimrc (updated 2006-02-10)

” Ali Rizvi’s Vim Settings


set number
set shiftwidth=4

set ruler

set incsearch
set hlsearch
set textwidth=80

" from lindes:
syntax on
hi Comment term=bold ctermfg=Cyan guifg=Cyan
set listchars=tab:»·,trail:·,eol:¬
set autoindent

" from benji fisher to turn on the matchit plugin automatically and more
filetype plugin on

" explicity map file extension .t to perl syntax instead of tads
" which is autodetected by filetype plugin on
" This line should always be after filetype plugin
autocmd BufNewFile,BufRead *.t set syntax=perl

" to show real tabs and spaces in file
set list
set listchars=tab:»·,trail:^,eol:¬
"set listchars=tab:>-,trail:-

"to add spaces instead of tabs
set expandtab

" evil, bad! -- hard tabs should be 8 chars... --lindes
" set tabstop=4
" _but_ we can use this:
set smarttab

" show matching opening brace/paren when typing close
set showmatch

"use arrow keys to move to previous and next buffers
nmap <C-R> :bn<CR>
nmap <C-L> :bp<CR>


10 Comments
  1. November 1, 2005
  2. November 1, 2005
  3. November 4, 2005
  4. November 8, 2005
  5. November 9, 2005
  6. November 9, 2005
  7. November 10, 2005
  8. November 10, 2005
  9. November 11, 2005
  10. November 16, 2005