set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim au BufNewFile,BufRead *.rhtml set syn=eruby behave mswin set diffexpr=MyDiff() set number set encoding=utf8 set nobackup set hidden colorscheme darkocean set autochdir set noerrorbells set scrollbind set guifont=Consolas:h11 set hlsearch set ignorecase set incsearch map :bnext map :bp imap :bnext imap :bp set nowrap if has('autocmd') autocmd GUIEnter * set vb t_vb= endif abbr _ed <% end %> map \be map /shit set wildmenu map :source $VIM\_vimrc vmap > vmap < imap if (!exists("*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 endif set dir=c:\\temp " html helpers map \1 0i

$a

map \2 0i

$a

map \3 0i

$a

map \p 0i

$a

map \l 0i
  • $a
  • vmap \a spaT=a " rails helpers map \z i<%= %>hhi map \x i<% %>hhi