From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L9gMu-000169-3F for garchives@archives.gentoo.org; Mon, 08 Dec 2008 13:41:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AECECE03A5; Mon, 8 Dec 2008 13:41:39 +0000 (UTC) Received: from mail.smoothlinux.com (vps.smoothlinux.com [72.233.48.223]) by pigeon.gentoo.org (Postfix) with ESMTP id 8937DE03A5 for ; Mon, 8 Dec 2008 13:41:39 +0000 (UTC) Received: from localhost (GSD.main [127.0.0.1]) by mail.smoothlinux.com (Postfix) with ESMTP id 4F6F97A014A for ; Mon, 8 Dec 2008 07:41:39 -0600 (CST) Received: from mail.smoothlinux.com ([127.0.0.1]) by localhost (ns1.smoothlinux.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LQX-oJzAaGEI for ; Mon, 8 Dec 2008 07:41:39 -0600 (CST) Received: from [192.168.31.100] (250.191.232.72.static.reverse.ltdomains.com [72.232.191.250]) by mail.smoothlinux.com (Postfix) with ESMTPA id C074C7A0146 for ; Mon, 8 Dec 2008 07:41:38 -0600 (CST) Message-ID: <493D23DB.8090507@smoothlinux.com> Date: Mon, 08 Dec 2008 07:40:43 -0600 From: Supreme User-Agent: Thunderbird 2.0.0.18 (X11/20081128) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] VIM Undo Command References: <4934FCFB.1010402@smoothlinux.com> <20081207085722.GA22021@ultras> <493C04BB.2060408@smoothlinux.com> <493C5E56.9000602@gmail.com> <493D1EB8.7030608@smoothlinux.com> In-Reply-To: <493D1EB8.7030608@smoothlinux.com> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: f2534c9e-bfdb-4a25-b308-38c3e7fe7693 X-Archives-Hash: 1134e036c5f93c5c9b6e34f6c83e892e I solve the problem by creating a symbolic link from vim to vi. For some reason vi symbolic link was pointed to //bin/busybox. Now everything is working properly.

jj@Layered /usr/bin $ ls -lash vi*
   0 lrwxrwxrwx 1 root root   13 Nov 27 20:12 vi -> //bin/busybox
   0 lrwxrwxrwx 1 root root   13 Nov 27 20:12 view -> //bin/busybox
4.0K -rwxr-xr-x 1 root root 2.3K Nov 29 12:09 vigra-config
2.5M -rwxr-xr-x 1 root root 2.5M Nov 30 03:08 vim
 0 lrwxrwxrwx 1 root root    3 Nov 30 03:08 vimdiff -> vim

Thanks for your help.

J.J.

Supreme wrote:
I went ahead and installed gvim as Nicolas suggested. I did not have any problems undoing changes in gvim. After further investigation I only have this problem when I run vi. If I do vim undo works also. The only thing I have in my home dir that's related to vi is .viminfo which a history file.

J.J.

smallnow wrote:
do you have a ~/.vimrc?
Try
:map u
and see if there is a mapping.

- Ian

Supreme wrote:
  
Thanks for your reply,

I dont have gvim installed. I'll install it and see if I get the same error.