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.

[EMAIL PROTECTED] /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.
    


  


Reply via email to