summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-12-30 23:16:18 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-12-30 23:16:18 +0000
commitcc42614fa92a0fd93ae359af6562401a2d3d00d7 (patch)
tree48971a7a344f23f480e8d8aa32c928e1bb537a60 /tmux.1
parent2231e72968629d67575b18979fed13b4f5ad730b (diff)
Change from a per-session stack of buffers to one global stack which is
much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.132
1 files changed, 8 insertions, 24 deletions
diff --git a/tmux.1 b/tmux.1
index 11d950ae..d949d40b 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1594,6 +1594,10 @@ Available window options are listed under
.Pp
Available server options are:
.Bl -tag -width Ds
+.It Ic buffer-limit Ar number
+Set the number of buffers; as new buffers are added to the top of the stack,
+old ones are removed from the bottom if necessary to maintain this maximum
+length.
.It Ic escape-time
Set the time in milliseconds for which
.Nm
@@ -1626,10 +1630,6 @@ window of that session,
means all bells are ignored and
.Ic current
means only bell in windows other than the current window are ignored.
-.It Ic buffer-limit Ar number
-Set the number of buffers kept for each session; as new buffers are added to
-the top of the stack, old ones are removed from the bottom if necessary to
-maintain this maximum length.
.It Ic default-command Ar shell-command
Set the command used for new windows (if not specified when the window is
created) to
@@ -2567,29 +2567,16 @@ This command works only from inside
.It Ic clear-history Op Fl t Ar target-pane
.D1 (alias: Ic clearhist )
Remove and free the history for the specified pane.
-.It Xo Ic copy-buffer
-.Op Fl a Ar src-index
-.Op Fl b Ar dst-index
-.Op Fl s Ar src-session
-.Op Fl t Ar dst-session
-.Xc
-.D1 (alias: Ic copyb )
-Copy a session paste buffer to another session.
-If no sessions are specified, the current one is used instead.
-.It Xo Ic delete-buffer
-.Op Fl b Ar buffer-index
-.Op Fl t Ar target-session
-.Xc
+.It Ic delete-buffer Op Fl b Ar buffer-index
.D1 (alias: Ic deleteb )
Delete the buffer at
.Ar buffer-index ,
or the top buffer if not specified.
-.It Ic list-buffers Op Fl t Ar target-session
+.It Ic list-buffers
.D1 (alias: Ic lsb )
-List the buffers in the given session.
-.It Xo Ic load-buffer
+List the global buffers.
+.It Xo Ic load-buffer
.Op Fl b Ar buffer-index
-.Op Fl t Ar target-session
.Ar path
.Xc
.D1 (alias: Ic loadb )
@@ -2618,7 +2605,6 @@ flag means to do no replacement (equivalent to a separator of LF).
.It Xo Ic save-buffer
.Op Fl a
.Op Fl b Ar buffer-index
-.Op Fl t Ar target-session
.Ar path
.Xc
.D1 (alias: Ic saveb )
@@ -2629,7 +2615,6 @@ The
option appends to rather than overwriting the file.
.It Xo Ic set-buffer
.Op Fl b Ar buffer-index
-.Op Fl t Ar target-session
.Ar data
.Xc
.D1 (alias: Ic setb )
@@ -2637,7 +2622,6 @@ Set the contents of the specified buffer to
.Ar data .
.It Xo Ic show-buffer
.Op Fl b Ar buffer-index
-.Op Fl t Ar target-session
.Xc
.D1 (alias: Ic showb )
Display the contents of the specified buffer.