[neomutt-users] [tuxic at posteo.de: Re: vim not recognzied anymore...?]
rich at flatcap.org
Mon Apr 9 13:16:51 CEST 2018
> suddenly neomutt starts nano default editor instead of vim
Ah yes, that's happened as part of my config cleanups.
It's important that all the variables work the same way.
NeoMutt is complicated. Too complicated.
For some variables, there are lots of different ways to set them.
The editor could be set by:
- Environment variable $VISUAL
- Environment variable $EDITOR
- ~/.neomuttrc (your config file)
- /etc/neomuttrc (system config file)
- Code (default)
The environment variables come first so that you can override the config
If NeoMutt has suddenly started using 'nano', then most likely you have
an environment variable set.
set | grep -e VISUAL -e EDITOR
Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 868 bytes
Desc: not available
More information about the neomutt-users