Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd November 2004, 06:02 AM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
How can I change my default text editor in Fedora?

I would like to change it to emacs, so that 'crontab -e' brings up the emacs editor.

I tried adding:
UAEDITOR=emacs
EDITOR=emacs
VISUAL=emacs

to my .bash_profile but to no avail.

Does anyone know where I can configure this?

Much thanks.
Reply With Quote
  #2  
Old 22nd November 2004, 06:38 AM
s_reynisson Offline
Registered User
 
Join Date: Nov 2004
Posts: 29
The -e option uses either the VISUAL or the EDITOR environment variables (see man crontab). Did you add the variable to the export statement at the bottom of the file? ie. "export EDITOR" w/o the quotes.
Reply With Quote
  #3  
Old 22nd November 2004, 07:14 AM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
Bah, no, Ijust inserted it after if...basrc...fi which is where I saw it in another file. I added the 'export' command and it works fine now.

Thanks a lot.

This is my new .bash_profile

Code:
pimeson@w102a new =) $ cat ~/.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# me trying to change default editor
export UAEDITOR=emacs
export EDITOR=emacs
export VISUAL=emacs
# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
Reply With Quote
Reply

Tags
change, default, editor, fedora, text

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default text editor steveov Using Fedora 6 25th November 2008 02:22 AM
Setting default system text editor rbroberts Using Fedora 12 30th October 2007 06:46 PM


Current GMT-time: 07:11 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat