Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I make nano my default editor (in Pine, mutt, etc.)?

Default editor mutt Nano Pine
0
Posted

How do I make nano my default editor (in Pine, mutt, etc.)?

0

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

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123