set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif let arg1 = v:fname_in if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif let arg2 = v:fname_new if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif let arg3 = v:fname_out if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif let eq = '' if $VIMRUNTIME =~ ' ' if &sh =~ '\ ' . arg3 . eq endfunction "my settings set showcmd set showmatch set ignorecase "set incsearch "set autowrite set cindent set autoindent set shiftwidth=4 set tabstop=4 set softtabstop=4 set backspace=2 set laststatus=2 set ignorecase set ruler set nohlsearch set smarttab set vb syntax on set fdm=marker set nofen colo desert
" " " " "
Show (partial) command in status line. Show matching brackets. Do case insensitive matching Incremental search Automatically save before commands like :next and :make
map <silent> :if &background == "light"set background=darkelseset background=lightendif noremap :res noremap = map :set invhlsearch
map map map map map
g :set invnu j k
" last-position-jump :au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif " windows settings: (font/size/position) " default system " set guifont=Lucida_Console:h11 " system with Consolas font, download it from M$: " http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-48078a86-b3d36fab68d3&displaylang=en set guifont=Consolas:h12 winsize 100 50 winpos 120 60 set nobackup set nowritebackup