[OpenWrt-Users] [PATCH] vim vim-full
joerg jungermann
joju at math.uni-paderborn.de
Mon Jun 2 22:02:27 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
the attached patch fixes two syntactical errors in the
/usr/share/vim/vimrc with vim-full. It also disables syntax highlighting
because of slowness on small devices, it doesn't work either without
vim-runtime. If one want he/she should enable it IMO him/herself.
Index: vimrc.full
===================================================================
- --- vimrc.full (revision 11331)
+++ vimrc.full (working copy)
@@ -3,7 +3,7 @@
set ignorecase " Do case insensitive matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next
- -and :make
+"and :make
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
set autoindent " always set autoindenting on
@@ -20,4 +20,5 @@
set t_Sf=<Esc>[3%dm
set t_Sb=<Esc>[4%dm
endif
- - syn on
+ syn off
+endif
- --
Joerg Jungermann
- ------------------------------------------------------------
Rechnerbetrieb Mathematik | Zustaendig fuer:
Universitaet-Paderborn - Fakultaet 5 | Linux, Web
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIRFHTsta551Pt/1URAhwFAJ0ahZ3bSUtCB0tk5Rr2uIOCgKMUXQCfecBt
v5bEOBFgjFe47uDINeJ6RBA=
=caC0
-----END PGP SIGNATURE-----
More information about the openwrt-users
mailing list