---- vim74/runtime/vimrc_example.vim~ 2013-09-06 00:10:56.000000000 +0300
-+++ vim74/runtime/vimrc_example.vim 2013-09-06 00:11:24.756404306 +0300
-@@ -31,6 +31,9 @@
- set showcmd " display incomplete commands
- set incsearch " do incremental searching
+--- vim-7.4.2189/runtime/vimrc_example.vim~ 2016-08-09 22:14:05.000000000 +0200
++++ vim-7.4.2189/runtime/vimrc_example.vim 2016-08-09 22:20:44.071303413 +0200
+@@ -26,7 +23,7 @@ else
+ endif
+ endif
-+" use compressed docs, see :help gzip-helpfile
-+set helpfile=$VIMRUNTIME/doc/help.txt.gz
+-if &t_Co > 2 || has("gui_running")
++if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
+ " Switch on highlighting the last used search pattern.
+ set hlsearch
+ endif
+@@ -56,3 +53,11 @@ endif " has("autocmd")
+ if has('syntax') && has('eval')
+ packadd! matchit
+ endif
+
- " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
- " let &guioptions = substitute(&guioptions, "t", "", "g")
-
-@@ -42,13 +45,13 @@
- inoremap <C-U> <C-G>u<C-U>
++" Use :help colorscheme for info
++"set background=dark
++
++" Source a global configuration file if available
++if filereadable("/etc/vim/vimrc.local")
++ source /etc/vim/vimrc.local
++endi
+--- vim-7.4.2189/runtime/defaults.vim 2016-08-09 22:26:29.727124083 +0200
++++ vim-8.2.0241/runtime/defaults.vim 2020-05-13 10:02:53.863204152 +0300
+@@ -68,6 +68,10 @@
+ map Q gq
+ sunmap Q
- " In many terminal emulators the mouse works just fine, thus enable it.
++" Avoid common :X mistype. replace it with :x
++" http://stackoverflow.com/a/17793858
++cnoreabbrev X x
++
+ " CTRL-U in insert mode deletes a lot. Use CTRL-G u to first break undo,
+ " so that you can undo CTRL-U after inserting a line break.
+ " Revert with ":iunmap <C-U>".
+@@ -77,13 +81,13 @@
+ " can position the cursor, Visually select and scroll with the mouse.
+ " Only xterm can grab the mouse events when using the shift key, for other
+ " terminals use ":", select text and press Esc.
-if has('mouse')
-- set mouse=a
+- if &term =~ 'xterm'
+- set mouse=a
+- else
+- set mouse=nvi
+- endif
-endif
+"if has('mouse')
-+" set mouse=a
++" if &term =~ 'xterm'
++" set mouse=a
++" else
++" set mouse=nvi
++" endif
+"endif
- " Switch syntax highlighting on, when the terminal has colors
- " Also switch on highlighting the last used search pattern.
--if &t_Co > 2 || has("gui_running")
-+if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
- syntax on
- set hlsearch
- endif
-@@ -93,10 +93,18 @@
- " Convenient command to see the difference between the current buffer and the
+ " Only do this part when Vim was compiled with the +eval feature.
+ if 1
+@@ -99,7 +103,7 @@
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.
+ " Revert with: ":delcommand DiffOrig".
-if !exists(":DiffOrig")
+if v:progname =~! "vi" && !exists(":DiffOrig")
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
\ | wincmd p | diffthis
endif
-+
-+" Use :help colorscheme for info
-+"set background=dark
-+
-+" Source a global configuration file if available
-+if filereadable("/etc/vim/vimrc.local")
-+ source /etc/vim/vimrc.local
-+endif
-
- if has('langmap') && exists('+langnoremap')
- " Prevent that the langmap option applies to characters that result from a