1 if v:progname =~? "evim"
7 set backspace=indent,eol,start
11 " so that you can undo CTRL-U after inserting a line break.
12 inoremap <C-U> <C-G>u<C-U>
21 if &t_Co > 2 || has("gui_running")
28 filetype plugin indent on
33 autocmd FileType text setlocal textwidth=78
36 \ if line("'\"") > 1 && line("'\"") <= line("$") |
37 \ exe "normal! g`\"" |
44 set autoindent " always set autoindenting on
46 endif " has("autocmd")
48 if !exists(":DiffOrig")
49 command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
50 \ | wincmd p | diffthis
74 "F12 - I can copy to clipboard, ctrl+f12 - go back
75 map <F12>
\e:set foldcolumn=0 mouse=r nonumber
\r
76 map
\e[24;5~
\e:set foldcolumn=5 mouse=a number
\r
77 "zz - quit vim without saving
84 autocmd BufRead *.rb set foldmethod=syntax
85 autocmd BufRead *.rb set foldcolumn=5
87 autocmd BufRead *.rb imap <F5>
\e:!clear; ruby %
\r