"-----------------------------" " copy this file to ~/.vimrc " " or load it with :source vim " "-----------------------------" " my own indentation for C using the coding styles set cindent set tabstop=4 set noexpandtab set smartindent set cino=:0,+0,(2,J0,{1,}0,>4,)1,m2 " pancake's exposee for vim: let fs=0 fun Exposee() if (g:fs == 0) res 1000 vertical res 1000 let g:fs=1 else exe "normal \=" let g:fs=0 endif endfun map :call Exposee() "some nice keymappings map :vsp map :sp map :sp:e . map :q map = map :make map :cnext map :cprevious " fine zooming map 2+ map 2- map 2> map 2< " fine frame moving map h map j map k map l au BufNewFile,BufRead *.vala setf cs au BufNewFile,BufRead *.vapi setf cs au BufNewFile,BufRead *.gtkaml setf cs au BufNewFile,BufRead *.gtkon setf cs filetype indent on colorscheme pablo set foldmethod=marker set hlsearch set paste sy on