Solved

Change editor to Pico

Posted on 2009-04-10
2
313 Views
Last Modified: 2012-05-06
I hate vim.  How can I change my default editor to pico?

I use CentOs 5.
0
Comment
Question by:hankknight
2 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 200 total points
ID: 24116166
some tools look for the env variable EDITOR, hence you can set it

EDITOR=pico ; export EDITOR
0
 
LVL 14

Accepted Solution

by:
small_student earned 300 total points
ID: 24121571
Hi Guys

I just want to follow up on this, you just need to put those two steps in your .bashrc file under your home directory, so you have the variable available after reboots and closing sesions and terminals..etc

under .bashrc

EDITOR=pico
export EDITOR
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access_log 17 145
Setting up two Raspberry Pi gateways/routers 3 82
android secure ftp 3 50
Using sort and uniq to pare down large syslog 6 50
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question