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>
14 "if has("gui_running")
19 if &t_Co > 2 || has("gui_running")
26 filetype plugin indent on
31 autocmd FileType text setlocal textwidth=78
34 \ if line("'\"") > 1 && line("'\"") <= line("$") |
35 \ exe "normal! g`\"" |
42 set autoindent " always set autoindenting on
44 endif " has("autocmd")
46 if !exists(":DiffOrig")
47 command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
48 \ | wincmd p | diffthis
71 "F12 - I can copy to clipboard, ctrl+f12 - go back
72 map <F12>
\e:set foldcolumn=0 mouse=r nonumber
\r
73 map
\e[24;5~
\e:set foldcolumn=5 mouse=a number
\r
74 "zz - quit vim without saving
80 "autocmd BufRead *.rb set foldmethod=syntax
81 "autocmd BufRead *.rb set foldcolumn=5
83 autocmd BufRead *.rb map <F5> :!clear; ruby %
\r
84 au BufNewFile,BufRead *.srt setf srt