1 --- vim-7.4.2189/runtime/vimrc_example.vim~ 2016-08-09 22:14:05.000000000 +0200
2 +++ vim-7.4.2189/runtime/vimrc_example.vim 2016-08-09 22:20:44.071303413 +0200
7 -if &t_Co > 2 || has("gui_running")
8 +if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
9 " Switch on highlighting the last used search pattern.
12 @@ -56,3 +53,11 @@ endif " has("autocmd")
13 if has('syntax') && has('eval')
17 +" Use :help colorscheme for info
20 +" Source a global configuration file if available
21 +if filereadable("/etc/vim/vimrc.local")
22 + source /etc/vim/vimrc.local
24 --- vim-7.4.2189/runtime/defaults.vim~ 2016-08-09 22:14:05.000000000 +0200
25 +++ vim-7.4.2189/runtime/defaults.vim 2016-08-09 22:26:29.727124083 +0200
26 @@ -77,13 +77,13 @@ inoremap <C-U> <C-G>u<C-U>
27 " can position the cursor, Visually select and scroll with the mouse.
28 " Only xterm can grab the mouse events when using the shift key, for other
29 " terminals use ":", select text and press Esc.
38 +" if &term =~ 'xterm'
45 " Switch syntax highlighting on when the terminal has colors or when using the
46 " GUI (which always has colors).
47 @@ -99,7 +99,7 @@ endif " has("autocmd")
48 " file it was loaded from, thus the changes you made.
49 " Only define it when not defined already.
50 " Revert with: ":delcommand DiffOrig".
51 -if !exists(":DiffOrig")
52 +if v:progname =~! "vi" && !exists(":DiffOrig")
53 command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
54 \ | wincmd p | diffthis