posted by steve | Category: Random Rants, Useful Items That I Forget |
Somehow it appears that the default editor got switched to Nano on the upgrade from Debian Sarge to Etch. At least I think it did. I would certainly remember having to use Nano before and would’ve been sufficiently annoyed to change that.
I messed up a couple crontab entries, expecting to be editing with Vi but instead editing with Nano. Ouch. I caught it but it’s amazing how much habitual hitting ESC to switch between modes in Vi becomes, along with the other keys to come out of command mode within Vi. Those certainly don’t work so well in Nano.
Trying to switch gears mentally from Vi mode to Nano mode after 17 straight hours on the computer is somewhat difficult.
Anyway, /etc/alternatives holds all that fun stuff in Debian and this command will change the setting for the editor:
update-alternatives --config editor
As a side note, I have multiple categories in my blog and this one really fits into both “Random Rants” and “Useful Items That I Forget”.
Leave a Reply
Archives
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- July 2011
- June 2011
- February 2011
- September 2010
- December 2009
- November 2009
- September 2008
- August 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- March 2007
- December 2006
- August 2006
- July 2006
- December 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- March 2005
- February 2005
- December 2004
- October 2004
- September 2004
- July 2004
Categories