]> git.pld-linux.org Git - packages/vim.git/commitdiff
- restore file, and do disable mouse
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 18 Aug 2008 10:36:51 +0000 (10:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-vimrc.patch -> 1.8

vim-vimrc.patch [new file with mode: 0644]

diff --git a/vim-vimrc.patch b/vim-vimrc.patch
new file mode 100644 (file)
index 0000000..decace6
--- /dev/null
@@ -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
This page took 0.045559 seconds and 4 git commands to generate.