set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

set diffexpr=MyDiff()
function MyDiff()
  let opt = ''
  if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
  if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
  silent execute '!E:\PROGRAMS\VIM\VIM61\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out
endfunction
set cino={.5s
color blue
set foldenable
set fdm=syntax
let perl_fold=1
nmap <C-F7> :set wrap<CR>
nmap <C-F8> :set nowrap<CR>
imap <C-F7> <C-O>:set wrap<CR>
imap <C-F8> <C-O>:set nowrap<CR>

nmap <F2> :w<CR>
imap <F2> <C-O>:w<CR>

nmap <C-t> :Tlist<CR>
imap <C-t> <C-O>:Tlist<CR>

nmap <F3> /
imap <F3> <C-O>/
set cpt
imap <C-SPACE> <C-n>

nmap <C-TAB> :tabn<CR>
imap <C-TAB> <C-O>:tabn<CR>


