On Thu Jun 12, 2003 at 12:59:52PM -0500, Christian Dysthe wrote: > I would like to globally change the default editor in Mandrake 9.1 (vim I > think) to another one. How can that be done? I have been looking around and > been asking on IRC, but I am not able to make it work. To be clear: I > *never* want vim to open any file. I want another editor to simply "replace" > vim by default. > > Please do not try to convince me to use vi/vim. I do not want to take part > in that discussion again... :) > > TIA for help and/or pointers.
echo "export EDITOR=joe" >>~/.bashrc That should do it. Replace joe with your preferred editor. -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ "lynx -source http://linsec.ca/vdanen.asc | gpg --import" {FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
pgp00000.pgp
Description: PGP signature
