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.

0