]> git.pld-linux.org Git - packages/vim.git/commitdiff
- disable vim features in vi (thus avoiding error message on startup)
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 10 Oct 2007 15:28:29 +0000 (15:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim-vimrc.patch -> 1.5

vim-vimrc.patch

index af66233e97dd5892a0ba83263fa64a9a7969e1c2..1e9c25860c4a05ab0060a3f0d790c11e938c361e 100644 (file)
@@ -9,10 +9,14 @@
  
  " Switch syntax highlighting on, when the terminal has colors
  " Also switch on highlighting the last used search pattern.
-@@ -83,3 +83,8 @@
+@@ -83,5 +83,10 @@
+ " Convenient command to see the difference between the current buffer and the
  " file it was loaded from, thus the changes you made.
++if v:progname =~! "vi"
  command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
                \ | wincmd p | diffthis
++endif
 +
 +" ADDED BY PLD.
 +" USE :help colorscheme FOR INFO
This page took 0.180981 seconds and 4 git commands to generate.