Launches $editor with fallbacks
i3-sensible-editor [arguments]
i3-sensible-editor is used by i3-nagbar(1) when you click on the edit button.
It tries to start one of the following (in that order):
$VISUAL
$EDITOR
nano
vim
vi
emacs
pico
qe
mg
jed
gedit
mc-edit
Please don\(cqt complain about the order: If the user has any preference, he will have $VISUAL or $EDITOR set.
i3(1)
Michael Stapelberg and contributors