Solved

Change editor to Pico

Posted on 2009-04-10
2
304 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now