Download:
_vimrc
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set ai
set spell
set ignorecase smartcase
set gfn=Lucida_Console:h9:cANSI
set selectmode=
set path+=**
set tabstop=2
set shiftwidth=2
colorscheme evening
"--------Commands to match vimized text mate
"iabbr aaotitlex title:Unsetauthor:Aaron Radkedate:=strftime("%Y-%m-%d")abstract:grammar:aaoDoc_blogWithToc.markdown---------
"ab aaotitle kD!!ruby -e 'require "date"; puts "aaotitle:Unset\ndate:\#{DateTime.now}\nauthor:Aaron Radke\n---------\n"'kJJi
ab aaotitle title:Unsetauthor:Aaron Radke!!ruby -e 'require "date"; puts "date:\#{DateTime.now}"'oabstract:grammar:aaoDoc_blogWithToc.markdown---------6kwwDa
ab datetime kD!!ruby -e 'require "date"; print DateTime.now'kJJi
ab datenow kD!!ruby -e 'puts Time.now.strftime("\%Y-\%m-\%d")'kJJi
"-comments
vmap :rubydo $_ = $_.match(/^(\S*)\#(.*)/)?"#{$1}#{$2}":"\##{$_}"
nmap V:rubydo $_ = $_.match(/^(\S*)\#(.*)/)?"#{$1}#{$2}":"\##{$_}"
imap V:rubydo $_ = $_.match(/^(\S*)\#(.*)/)?"#{$1}#{$2}":"\##{$_}"a
"-execute the current file
map :!start %
imap :!start %a
"-save
map :w
imap :wa
"-delete line
nmap dd
imap ddo
vmap d
"-duplicate line
nmap yyp
imap yyp
vmap ykp
"-select word
"nmap wbvw
imap wbvw
vmap bw
"-ruby evaluation
nmap V:rubydo $_ = eval($_).to_s
vmap :rubydo $_ = eval($_).to_s
set lines=70 columns=100
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
"auto cd to current file on load
autocmd BufEnter * lcd %:p:h
" Project settings
let g:proj_window_width = 40
nmap ToggleProject