aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmux.120
1 files changed, 13 insertions, 7 deletions
diff --git a/tmux.1 b/tmux.1
index a7b4af05..f4ba7471 100644
--- a/tmux.1
+++ b/tmux.1
@@ -456,7 +456,7 @@ Will execute
.Ic if-shell ,
the shell command
.Xr true 1 ,
-.Ic new-window
+.Ic split-window
and
.Ic kill-session
in that order.
@@ -470,7 +470,7 @@ commands and their arguments.
This section describes the syntax of commands parsed by
.Nm ,
for example in a configuration file or at the command prompt.
-Note the when commands are entered into the shell, they are parsed by the shell
+Note that when commands are entered into the shell, they are parsed by the shell
- see for example
.Xr ksh 1
or
@@ -2333,9 +2333,7 @@ spreads the current pane and any panes next to it out evenly.
Make pane
.Ar target-pane
the active pane in window
-.Ar target-window ,
-or set its style (with
-.Fl P ) .
+.Ar target-window.
If one of
.Fl D ,
.Fl L ,
@@ -4065,7 +4063,7 @@ will expand the format twice, for example
.Ql #{E:status-left}
is the result of expanding the content of the
.Ic status-left
-option rather than the content itself.
+option rather than the option itself.
.Ql T:
is like
.Ql E:
@@ -4101,7 +4099,7 @@ would change
into
.Ql bxBxbx .
.Pp
-In addition, the first line of a shell command's output may be inserted using
+In addition, the last line of a shell command's output may be inserted using
.Ql #() .
For example,
.Ql #(uptime)
@@ -4120,6 +4118,14 @@ global environment set (see the
.Sx GLOBAL AND SESSION ENVIRONMENT
section).
.Pp
+An
+.Ql l
+specifies that a string should be interpreted literally and not expanded.
+For example
+.Ql #{l:#{?pane_in_mode,yes,no}}
+will be replaced by
+.Ql #{?pane_in_mode,yes,no} .
+.Pp
The following variables are available, where appropriate:
.Bl -column "XXXXXXXXXXXXXXXXXXX" "XXXXX"
.It Sy "Variable name" Ta Sy "Alias" Ta Sy "Replaced with"