]> git.pld-linux.org Git - packages/vim.git/blame - vim-vimrc.patch
- allow missing runtime/syntax/* dir
[packages/vim.git] / vim-vimrc.patch
CommitLineData
222a81c0
ER
1--- vim72/runtime/vimrc_example.vim 2008-08-18 13:33:06.007243535 +0300
2+++ vim72/runtime/vimrc_example.vim 2009-05-14 02:04:43.261671071 +0300
3@@ -42,13 +42,13 @@
66e92215
ER
4 inoremap <C-U> <C-G>u<C-U>
5
6 " In many terminal emulators the mouse works just fine, thus enable it.
7-if has('mouse')
8- set mouse=a
9-endif
10+"if has('mouse')
11+" set mouse=a
12+"endif
13
14 " Switch syntax highlighting on, when the terminal has colors
15 " Also switch on highlighting the last used search pattern.
222a81c0
ER
16-if &t_Co > 2 || has("gui_running")
17+if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
18 syntax on
19 set hlsearch
20 endif
21@@ -93,4 +93,7 @@
66e92215
ER
22-if !exists(":DiffOrig")
23+if v:progname =~! "vi" && !exists(":DiffOrig")
24 command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
25 \ | wincmd p | diffthis
26 endif
27+
f13b9023 28+" Use :help colorscheme for info
66e92215 29+"set background=dark
This page took 0.028099 seconds and 4 git commands to generate.