Charles E Campbell Jr wrote:
Larry Alkoff wrote:

I have a desktop and newly configured laptop with different versions of vim.

The desktop has vim 6.4.6 which contains the lines in ~/.vimrc
set mouse=a
syntax on
They show in :help


The laptop has vim 7.0.35 and gives an error on the above two vimrc commands. Also they don't show in :help.

What has happened in vim 7? Are there replacements for syntax on and set mouse?


These commands are fine.  So, bring up your new vim and type:
 :version

What does that show?

Regards,
Chip Campbell




Hello Chip.

:version shows 7.0

The error I get is:

[EMAIL PROTECTED] X11 # vi xorg.conf
Error detected while processing /home/lba/.vimrc:
line   52:
E319: Sorry, the command is not available in this version:   syntax on
line  121:
E538: No mouse support: mouse=a
Press ENTER or type command to continue


Where line 52 says:
syntax on

and line 121 says:
set mouse=a

Larry
--
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux

Reply via email to