[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Symlink clarification needed (vi -> vim)



* Robert Ian Smit (robian@wanadoo.nl) [020928 06:58]:
> I know that some programs react differently depending on how they
> are called. When you create a symlink to a program, does the program
> know that it was started by using a symlink?
> 
> For instance when I create a vi symlink to vim, will vim start up
> normally or will it mimick vi?

Vim can always be coerced to do whatever you want it to do via ~/.vimrc
.  Setting nocompatible will make it act like 'vim' even when invoked as
'vi' (via hard or soft link).

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.debian.org/

Attachment: pgpWOkkuyKeCh.pgp
Description: PGP signature


Reply to: