]> git.pld-linux.org Git - packages/vim.git/blob - vim-vimrc.patch
- updated to 7.3 (-extra and -lang merged into main tarball)
[packages/vim.git] / vim-vimrc.patch
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 @@
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.
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 @@
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 +
28 +" Use :help colorscheme for info
29 +"set background=dark
This page took 0.026207 seconds and 3 git commands to generate.