2011-11-11 17:29:10 -05:00
|
|
|
|
i3-sensible-editor(1)
|
|
|
|
|
===================
|
|
|
|
|
Michael Stapelberg <michael+i3@stapelberg.de>
|
|
|
|
|
v4.1, November 2011
|
|
|
|
|
|
|
|
|
|
== NAME
|
|
|
|
|
|
|
|
|
|
i3-sensible-editor - launches $EDITOR with fallbacks
|
|
|
|
|
|
|
|
|
|
== SYNOPSIS
|
|
|
|
|
|
|
|
|
|
i3-sensible-editor [arguments]
|
|
|
|
|
|
|
|
|
|
== DESCRIPTION
|
|
|
|
|
|
|
|
|
|
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
|
2011-12-28 18:01:49 -05:00
|
|
|
|
* pico
|
|
|
|
|
* qe
|
|
|
|
|
* mg
|
|
|
|
|
* jed
|
|
|
|
|
* gedit
|
|
|
|
|
* mc-edit
|
2011-11-11 17:29:10 -05:00
|
|
|
|
|
|
|
|
|
Please don’t complain about the order: If the user has any preference, he will
|
|
|
|
|
have $VISUAL or $EDITOR set.
|
|
|
|
|
|
|
|
|
|
== SEE ALSO
|
|
|
|
|
|
|
|
|
|
i3(1)
|
|
|
|
|
|
|
|
|
|
== AUTHOR
|
|
|
|
|
|
|
|
|
|
Michael Stapelberg and contributors
|