To change the default editor (for commands like `crontab -e`), run:
export VISUAL='mcedit'
export EDITOR='mecedit'
Both above lines should be added to ~/.bashrc in order to keep this setting permanent.
Change default editor in MC (Midnight Commander):
In mc menu select: Options -> Configuration -> use internal edit
No comments:
Post a Comment