Configure hypernode to use your favorite editor

in Shell

On hypernodes there are several editors available to make your changes to your files.
To configure your editor, you can either export the EDITOR variable in your environment, or change the .selected_editor file in your homedir (/data/web/)

Set your editor using environment variables:

export EDITOR=vim; 

Set your editor using the .selected_editor file to vim:

echo vim > ~/.selected_editor

Or use nano instead:

echo nano > ~/.selected_editor

Now after configuring the editor, crontabs will be edited using this editor. You can open files using the sensible-editor tool.
This selects your editor depending on the configured settings.