in my vimrc I am sourcing the following:
source $VIMRUNTIME/mswin.vim
At first this file was missing, so I downloaded it from:
http://ftp.twaren.net/vim/runtime/mswin.vim
However when I try and open gvim I get:
My first thoughts of the cause are:
- version of mswin.vim incorrect?
- version of vim incorrect?
Quote:
[09:12:05][root@host:/home]# gvim deploy.sh
Error detected while processing /usr/share/vim/mswin.vim:
line 46:
E121: Undefined variable: paste
E15: Invalid expression: paste#paste_cmd['i']
line 47:
E121: Undefined variable: paste
E15: Invalid expression: paste#paste_cmd['v']
line 86:
E492: Not an editor command: snoremap <C-A> <C-C>gggH<C-O>G
line 87:
E492: Not an editor command: xnoremap <C-A> <C-C>ggVG
|
I have googled it and come across:
http://help.lockergnome.com/linux/Bu...ict494599.html
(no responses)
and another couple of threads, with no responses either.
I am using Linux:
Linux version 2.6.18-028stab064.8-ent (root@rh5-build-x64) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Sat Oct 31 08:34:51 MSK 2009
vim --version:
Quote:
[09:28:53][root@host:/home]# vim --version
VIM - Vi IMproved 6.3 (2004 June 7, compiled Jun 1 2009 11:12:29)
Included patches: 1-21, 23-24, 26, 28-34, 36-37, 39-40, 42-43, 45-46, 59, 81-82
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval
+ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
+libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse -mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm
+mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg -osfiletype
+path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOUR CE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -pipe -I/usr/local/include -D_LARGEFILE_S OURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -I/usr /include/python2.3 -pthread
Linking: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -L/usr/local/lib -o vim -lncurses -lselinux -lacl -lgpm -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5 .8.5/i386-linux-thread-multi/CORE -lperl -lresolv -lutil -lc -L/usr/lib/python2.3/config -lpython2.3 -lutil - lm -Xlinker -export-dynamic
|
Any help would be much appreciated
gvanto