Changing the default Ubuntu editor

I’ve gotten tired of being presented with the default nano text editor every time I go to write a subversion commit comment or when I run visudo. So I finally figured out how to change the default text editor from nano.

% sudo update-alternatives –config editor

I personally prefer good old vim!


 
 
 

Leave a Reply


There is a fine line between a generic flexible UI and a crappy one:

Got the Chocolate Raspberry Stout in the fermenter. I can't wait to taste it.

Just poured out 10 Liters of overly-carbonated, accidentally-alcoholic, plastic-flavored, homemade root beer. Lessons learned: 3!

Follow me on Twitter