2011-11-11 23:29:10 +01: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
|
2016-07-30 19:30:25 +02:00
|
|
|
|
* nvim
|
2011-11-11 23:29:10 +01:00
|
|
|
|
* vim
|
|
|
|
|
* vi
|
|
|
|
|
* emacs
|
2011-12-29 00:01:49 +01:00
|
|
|
|
* pico
|
|
|
|
|
* qe
|
|
|
|
|
* mg
|
|
|
|
|
* jed
|
|
|
|
|
* gedit
|
|
|
|
|
* mc-edit
|
2011-11-11 23:29:10 +01:00
|
|
|
|
|
2015-03-12 05:41:43 +01:00
|
|
|
|
Please don’t complain about the order: If the user has any preference, they will
|
2011-11-11 23:29:10 +01:00
|
|
|
|
have $VISUAL or $EDITOR set.
|
|
|
|
|
|
|
|
|
|
== SEE ALSO
|
|
|
|
|
|
|
|
|
|
i3(1)
|
|
|
|
|
|
|
|
|
|
== AUTHOR
|
|
|
|
|
|
|
|
|
|
Michael Stapelberg and contributors
|