[SATLUG] vi editor and insert mode as regular user

Brad Knowles brad at shub-internet.org
Fri Jul 24 15:21:57 CDT 2009

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.

Brad Knowles <brad at shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>

More information about the SATLUG mailing list