]> git.pld-linux.org Git - packages/vim.git/blob - vim-vimrc.patch
- restore file, and do disable mouse
[packages/vim.git] / vim-vimrc.patch
1 --- vim72/runtime/vimrc_example.vim~    2008-07-02 23:11:53.000000000 +0300
2 +++ vim72/runtime/vimrc_example.vim     2008-08-18 13:33:06.007243535 +0300
3 @@ -42,9 +42,9 @@
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 @@ -90,7 +90,10 @@
17  " Convenient command to see the difference between the current buffer and the
18  " file it was loaded from, thus the changes you made.
19  " Only define it when not defined already.
20 -if !exists(":DiffOrig")
21 +if v:progname =~! "vi" && !exists(":DiffOrig")
22    command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
23                   \ | wincmd p | diffthis
24  endif
25 +
26 +" USE :help colorscheme FOR INFO
27 +"set background=dark
This page took 0.04127 seconds and 4 git commands to generate.