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:26:29.727124083 +0200
25 +++ vim-8.2.0241/runtime/defaults.vim 2020-05-13 10:02:53.863204152 +0300
27 " Revert with ":unmap Q".
30 +" Avoid common :X mistype. replace it with :x
31 +" http://stackoverflow.com/a/17793858
34 " CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo,
35 " so that you can undo CTRL-U after inserting a line break.
36 " Revert with ":iunmap <C-U>".
38 " can position the cursor, Visually select and scroll with the mouse.
39 " Only xterm can grab the mouse events when using the shift key, for other
40 " terminals use ":", select text and press Esc.
49 +" if &term =~ 'xterm'
56 " Only do this part when Vim was compiled with the +eval feature.
59 " file it was loaded from, thus the changes you made.
60 " Only define it when not defined already.
61 " Revert with: ":delcommand DiffOrig".
62 -if !exists(":DiffOrig")
63 +if v:progname =~! "vi" && !exists(":DiffOrig")
64 command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
65 \ | wincmd p | diffthis