Tip Details Add a Related Tip

Rate as: Positive Negative

Setting the default editor in Gentoo

For some reason, the default editor in Gentoo is Nano instead of vi or emacs. To change the default you need to edit your rc.conf file. You should see something like the following in the file:

 # Set EDITOR to your preferred editor.
 EDITOR="/bin/nano"
 #EDITOR="/usr/bin/vim"
 #EDITOR="/usr/bin/emacs"

To change your editor, add a pound sign (#) in front of the EDITOR="/bin/nano" line and remove the pound sign at the beginning of the line that contains the editor you want to use. If you want to use an editor other than vi or emacs, you can add new line with the path to the name of your editor.
Rating: no ratings, 0 total Votes
Categories: linux Gentoo
Added: on Jul 05, 2007 at 8:44 am
Added By: an anonymous user

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Monitor network traffic in Linux

Categories: linux ubuntu Gentoo network
no ratings, 0 comments
– Tip added by an anonymous user on Jul 13, 2007 at 4:42 pm

ssh and scp without passwords

Categories: shell Mac linux UNIX
100% positive, 1 comment - last added on Jun 20, 2008 at 9:19 am
– Tip added by an anonymous user on Dec 21, 2007 at 2:51 pm

Color coding the ls command in Fedora

100% positive, 0 comments
– Tip added by an anonymous user on Apr 25, 2008 at 8:27 am

Build your own cheap computer

Categories: Computers frugal linux kids
100% positive, 0 comments
– Tip added by an anonymous user on Jun 04, 2008 at 4:38 pm

Backing up a Linux machine

100% positive, 0 comments
– Tip added by an anonymous user on Mar 19, 2008 at 3:19 pm

Fedora update kills log rolling

Categories: Fedora linux repair bugs
100% positive, 1 comment - last added on Feb 29, 2008 at 7:39 am
– Tip added by an anonymous user on Feb 28, 2008 at 7:29 am

Open a list of files in vim from a grep command (linux)

Categories: web design linux
100% positive, 0 comments
– Tip added by an anonymous user on Jan 10, 2008 at 12:26 pm

Automatic Login on gOS

Categories: Linux gOS
100% positive, 0 comments
– Tip added by an anonymous user on Jan 08, 2008 at 5:19 pm

Automatic logins on Ubuntu

Categories: ubuntu linux security
100% positive, 0 comments
– Tip added by an anonymous user on Oct 04, 2007 at 1:17 pm

RAW support and advanced features for Canon cameras

100% positive, 0 comments
– Tip added by an anonymous user on Oct 02, 2007 at 10:16 am

Empty the contents of a file

Categories: UNIX linux
no ratings, 0 comments
– Tip added by an anonymous user on Aug 21, 2008 at 9:09 am

up2date failed dependencies

Categories: red hat linux Fedora
no ratings, 0 comments
– Tip added by an anonymous user on Aug 20, 2008 at 10:25 am

Enable the login shell for the Gnome terminal

no ratings, 0 comments
– Tip added by an anonymous user on Jul 15, 2008 at 10:46 am

Software Development Automation with Scripting Languages

Categories: linux unix scripting
no ratings, 0 comments
– Tip added by an anonymous user on Jun 05, 2008 at 2:40 pm

Adding programs to the iBar in gOS

Categories: gOS linux customization
no ratings, 0 comments
– Tip added by an anonymous user on Feb 03, 2008 at 12:17 pm

Running X11 programs from the terminal

no ratings, 0 comments
– Tip added by an anonymous user on Jan 28, 2008 at 8:04 am

Determining if your hardware is Linux compatible

no ratings, 0 comments
– Tip added by healer on Aug 30, 2007 at 7:22 am

Converting music formats in Linux

Categories: music ogg flac mp3 linux
no ratings, 0 comments
– Tip added by an anonymous user on Aug 12, 2007 at 11:06 am

Changing an already running job to execute in the background

Categories: linux UNIX Mac
no ratings, 0 comments
– Tip added by an anonymous user on Aug 06, 2007 at 11:57 am

Context highlighting in nano

no ratings, 0 comments
– Tip added by an anonymous user on Aug 05, 2007 at 8:17 am