[SATLUG] vi editor and insert mode as regular user
John D Choate
jdchoate at gmail.com
Fri Jul 24 15:29:03 CDT 2009
On Friday 24 July 2009 15:21:57 Brad Knowles wrote:
> on 7/24/09 3:11 PM, John D Choate said:
> > $ ls -l `which vi`
> > lrwxrwxrwx 1 root root 21 2009-05-09 17:21 /usr/bin/vi -> /etc/alternatives/uvi*
> > $ ls -l `which vim`
> > lrwxrwxrwx 1 root root 21 2009-05-09 17:21 /bin/vim -> /etc/alternatives/vim*
> Now, do an "ls -l" on /etc/alternatives/uvi and /etc/alternatives/vim,
> to see if they're actually the same binary with two different names
> (i.e., both names point to the same inode), or if they are symlinks
> which point off somewhere else, etc....
> > Also, /root has .vimrc, but no .vimrc is in any users' ~/
> > There is no ~/.vi* at all for that matter.
> > So, I will clone /root/.vimrc in ~/ and see what happens.
> Also check your X and terminal settings.
Actually, I got my problem fixed.
I made a ~/.vimrc and copied the contents of /root/.vimrc into that. All works as expected now.
I do not understand why ~/.vimrc was never created for my user, buy hey... it was an easy fix after all.
Thanks all for your help.
More information about the SATLUG