[SATLUG] vi editor and insert mode as regular user

John D Choate jdchoate at gmail.com
Fri Jul 24 15:01:37 CDT 2009


On Friday 24 July 2009 13:42:39 Bruce Dubbs wrote:

> 1.  Make sure you are using the same program as both user and root:
> 
> $ ls -l `which vi`
> lrwxrwxrwx 1 root root 3 Nov 23  2005 /usr/bin/vi -> vim
> 
> $ ls -l `which vim`
> -rwxr-xr-x 1 root root 1683300 Mar 31 19:49 /usr/bin/vim
> 
> $ alias
> alias svi='sudo vim'
> 
> 
> 2.  Make sure that there are no differences in /root/.vimrc and the user's .vimrc.
> 
>    -- Bruce
> 
> 

Thank you very much. I will check that out.

John C


More information about the SATLUG mailing list