Setting vim to be the default editor

| 4 Comments
Every time I install Ubuntu I end up struggling with changing the default editor to use vi or vim. If only I'd found this page before! So simple! All you have to do is run (as root): update-alternatives --config editor
  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0 /5( 0 votes cast)

4 Comments

Thanks for posting Michele - I just reinstalled and checking stuff into svn and it brought up Nano. *shudder* The horror of it!

Donncha

Until I found this tip I kept having to edit each user profile manually - it was wrecking my head!

I've never really gotten a handle on Vi/Vim or the alternative ones. I've been sticking to plain old pico, or when needed xemacs.

Can anyone recommend a good Vi intro sheet ?

Paul

Search my archives - you might find something useful!

Pico is so .. I'm trying to find a word ...

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.2-en

About this Entry

This page contains a single entry by Michele Neylon published on March 15, 2007 12:36 AM.

Firestats User? Upgrade Now was the previous entry in this blog.

Daniel Craig On James Bond is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.