Skip to content

Instantly share code, notes, and snippets.

@kana
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kana/9977545 to your computer and use it in GitHub Desktop.
Save kana/9977545 to your computer and use it in GitHub Desktop.
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 '!C:\usr\bin\vim\vim61\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out
endfunction
" kana 26.01.2003
map <C-P> :!python "%"<CR>
set noicon
" kana 29.01.2003
command Commit !cvs commit %
" kana 30.01.2003
map <F2> :e #<CR>
" kana 02.02.2003
set columns=80
set lines=25
set noequalalways
set mouse=
set backspace=indent,eol,start
set showmatch
set smarttab
set smartindent
set backupdir=.
set directory=.,C:\\Documents\ and\ Settings\\kana\\Local\ Settings\\Temp
set updatetime=10000
set history=100
set shellslash
set secure
" kana 05.02.2003
set backupcopy=auto
command Status call ListingModifiedFiles()
function ListingModifiedFiles()
%!cvs status | fgrep Status | fgrep -v "Up-to-date"
endfunction
" __END__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment