SOURCES: vim-vimrc.patch (NEW) - restore file, and do disable mouse
glen
glen at pld-linux.org
Mon Aug 18 12:36:56 CEST 2008
Author: glen Date: Mon Aug 18 10:36:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- restore file, and do disable mouse
---- Files affected:
SOURCES:
vim-vimrc.patch (1.7 -> 1.8) (NEW)
---- Diffs:
================================================================
Index: SOURCES/vim-vimrc.patch
diff -u /dev/null SOURCES/vim-vimrc.patch:1.8
--- /dev/null Mon Aug 18 12:36:57 2008
+++ SOURCES/vim-vimrc.patch Mon Aug 18 12:36:51 2008
@@ -0,0 +1,27 @@
+--- vim72/runtime/vimrc_example.vim~ 2008-07-02 23:11:53.000000000 +0300
++++ vim72/runtime/vimrc_example.vim 2008-08-18 13:33:06.007243535 +0300
+@@ -42,9 +42,9 @@
+ inoremap <C-U> <C-G>u<C-U>
+
+ " In many terminal emulators the mouse works just fine, thus enable it.
+-if has('mouse')
+- set mouse=a
+-endif
++"if has('mouse')
++" set mouse=a
++"endif
+
+ " Switch syntax highlighting on, when the terminal has colors
+ " Also switch on highlighting the last used search pattern.
+@@ -90,7 +90,10 @@
+ " Convenient command to see the difference between the current buffer and the
+ " file it was loaded from, thus the changes you made.
+ " Only define it when not defined already.
+-if !exists(":DiffOrig")
++if v:progname =~! "vi" && !exists(":DiffOrig")
+ command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
+ \ | wincmd p | diffthis
+ endif
++
++" USE :help colorscheme FOR INFO
++"set background=dark
================================================================
More information about the pld-cvs-commit
mailing list