How do I make nano my default editor (in Pine, mutt, etc.)?
You need to make nano your $EDITOR. If you want this to be saved, you should put a line like this in your .bashrc if you use bash (or .zshrc if you believe in zsh): export EDITOR=/usr/local/bin/nano or if you use tcsh put this in your .cshrc file: setenv EDITOR /usr/local/bin/nano Change /usr/local/bin/nano to wherever nano is installed on your system. Type “which nano” to find out. This will not take effect until the next time you login. So log out and back in again. Then on top that if you use Pine you must go into setup (type S at the main menu), then configure (type C). Hit enter on the lines that say: [ ] enable-alternate-editor-cmd [ ] enable-alternate-editor-implicitly Then exit (E) and select Yes (Y). Mutt users should see an effect immediately the next time you log in, no further configuration is needed. However, if you want to let people know you use nano to compose your email messages, you can put a line like this in your .muttrc: my_hdr X-Composer: nano x.y.z Again, replace
You need to make nano your $EDITOR. If you want this to be saved, you should put a line like this in your .bashrc if you use bash: export EDITOR=/usr/local/bin/nano or if you use tcsh put this in your .cshrc file: setenv EDITOR /usr/local/bin/nano Change /usr/local/bin/nano to wherever nano is installed in your system. Type which nano to find out. This will not take effect until the next time you login. So log out and back in again. Then on top that if you use Pine you must go into setup (type S at the main menu), then configure (type C). Hit enter on the lines that say: [ ] enable-alternate-editor-cmd [ ] enable-alternate-editor-implicitly Then exit (E) and select Yes (Y). Mutt users should see an effect immediately the next time you log in, no further configuration is needed. However, if you want to let people know you use nano to compose your email messages, you can put a line like this in your .muttrc: my_hdr X-Composer: nano x.y.z Again, replace x.y.z with the version of nano you