" vim 7.x specific
 
" set to be more vim like
set nocompatible
 
" check paths for .ros alternatives
set includeexpr=substitute(v:fname,'$','.ros','g')
 
" hide buffers when they go away with :bd
set hidden
 
" set tabs
set expandtab
set tabstop=4
set shiftwidth=4
set autoindent
set cindent
 
" window management
set number
set ruler
set showmode
set laststatus=2
set history=500
set cursorline
au WinLeave * set nocursorline
au WinEnter * set cursorline
 
" search
set incsearch
set hlsearch
set smartcase
 
" colors
syntax on
colorscheme desert
set showmatch
au BufRead,BufNewFile *.ros set filetype=php
au BufRead,BufNewFile *.js.ros set filetype=javascript
au BufRead,BufNewFile *.css.ros set filetype=css
highlight Comment ctermfg=6 
highlight Folded ctermfg=7 ctermbg=0
highlight LineNr ctermfg=6 ctermbg=0
 
" misc
set title
set sc
 
" use wildmenu
set wildmenu
set wildmode=list:longest,full
set wildignore+=*.0,*.class,*.pyc,*.pyo,*/CVS/,*.jar
 
" turn word wrap off
set nowrap
 
" get the backup files in ~/.tmp/
"#set backupdir=~/.tmp/
"set directory=~/.tmp/
 
" folding
set foldmethod=marker

" hide the mouse while typing
set mousehide

 
vimrc.txt · Last modified: 2010/08/14 22:59 by klainfo · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki