Add a format for the name of the pane's mode, lets it be used as a

conditional for key bindings.
This commit is contained in:
nicm
2017-05-07 22:27:57 +00:00
parent d52f579fd5
commit 5fee4638e0
6 changed files with 21 additions and 8 deletions

1
tmux.1
View File

@ -3561,6 +3561,7 @@ The following variables are available, where appropriate:
.It Li "pane_input_off" Ta "" Ta "If input to pane is disabled"
.It Li "pane_index" Ta "#P" Ta "Index of pane"
.It Li "pane_left" Ta "" Ta "Left of pane"
.It Li "pane_mode" Ta "" Ta "Name of pane mode, if any."
.It Li "pane_pid" Ta "" Ta "PID of first process in pane"
.It Li "pane_right" Ta "" Ta "Right of pane"
.It Li "pane_search_string" Ta "" Ta "Last search string in copy mode"