summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-03-04 20:50:53 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-03-04 20:50:53 +0000
commit03dca66ae207e5b2d98a9cd337d472ea26bb95c6 (patch)
tree0d87f73acc1acad782211849fd4c97a061315ea2 /tmux.1
parent178a20718c007a254611d4f02c4c6f3ca7184d8d (diff)
Add -F format to new-window and split-window to use with the -P flag,
from George Nachman.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.18
1 files changed, 7 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 6bef3e67..a7950d26 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1249,6 +1249,7 @@ is moved to
.Op Fl c Ar start-directory
.Op Fl n Ar window-name
.Op Fl t Ar target-window
+.Op Fl F Ar format
.Op Ar shell-command
.Xc
.D1 (alias: Ic neww )
@@ -1306,7 +1307,11 @@ start-up files.
.Pp
The
.Fl P
-option prints the location of the new window after it has been created.
+option prints information about the new window after it has been created.
+By default, it uses the format
+.Ql #{session_name}:#{window_index}
+but a different format may be specified with
+.Fl F .
.It Ic next-layout Op Fl t Ar target-window
.D1 (alias: Ic nextl )
Move a window to the next layout and rearrange the panes to fit.
@@ -1491,6 +1496,7 @@ commands.
.Fl p Ar percentage Oc
.Op Fl t Ar target-pane
.Op Ar shell-command
+.Op Fl F Ar format
.Xc
.D1 (alias: Ic splitw )
Create a new pane by splitting