Linux Commands | Emacs Help | VI Help | Linux Security Tips Slackware.com  
userlocal.com logo ChangeLogs 
Mailing Lists 
Packages 
Slackware Book 
Slackware FAQ 
Slackware Mirrors 

Featured Links

About Us
Articles
Community
Interviews
Quick Tips
Reviews
Forums
Submit News

Hosted Projects

DOSSLACK inetctl

-Current Notification

To receive notification of changes to the Slackware -Current ChangeLog via email, send an email to "mrgoblin@userlocal.com" with the subject "subscribe slacklog" and your email address in the body of the message.

LinuxPackages.net

KPhotoAlbum  Link

Exiv2  Link

hplip  Link

Zile  Link

HAL  Link

udev  Link

Git  Link

Mozilla Firefox  Link

Mozilla Thunderbird  Link

tcng  Link

Back to Main Page       Go to Slackware Forums

Changing your default editor

Tired of having 'vi' (elvis actually) as the default editor when launching stuff like 'crontab -e' and such from the commandline? Would you much rather have emacs, joe, pico or some other editor as the default? It is easy to change, just set the environment variable VISUAL to the full path of your favorite editor, and it will be used instead. To do it, just execute this command:

$ export VISUAL=/usr/bin/joe

Now 'joe' is the default editor. You can make this change permanent for a single user by putting the 'export VISUAL=' line into the .bash_profile file in the home dir of the user in question, or you can make it a systemwide default by putting it into the /etc/profile file.


Contributed by: Jesper Juhl

If you have a good tip, please email it to contribute@userlocal.com

External Links

Slackware® is a registered trademark of Slackware Linux, Inc.
Original content © 2000-2004 userlocal.com    legal statement