Go Back   Linux Forums by TotalPenguin! Get linux Help! > GUI Linux > Linux Applications

Linux Applications Discussion for Linux Software and Application releated issues.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-24-2008, 06:32 PM
Senior Member
 
Join Date: Jan 2007
Posts: 140
Wanch is on a distinguished road
Default Simple Question.... Change Default Editor

How do I change my default editor? Right now it is nano which I don't like very much. I'd rather use vi or at least pico. Can someone tell me how to get this done?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-28-2008, 01:00 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

You need to export your editor:

Code:
# set | grep EDITOR
EDITOR=/bin/nano
# which vi
/usr/bin/vi
# export EDITOR=/usr/bin/vi
# set | grep EDITOR
EDITOR=/usr/bin/vi
#
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows default at bootup Wanch Linux General 2 02-22-2008 07:30 AM
May sound simple.... Pan Linux General 1 12-28-2007 06:34 PM
Question about VB THFS General/Lounge 7 10-22-2007 02:47 PM
Change my Windows Manager Crop Linux General 1 01-21-2007 05:48 PM
Favorite Editor Void Linux Applications 0 01-18-2007 02:55 AM


All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.