diff options
-rw-r--r-- | cmd-next-window.c | 2 | ||||
-rw-r--r-- | cmd-previous-window.c | 2 | ||||
-rw-r--r-- | tmux.1 | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/cmd-next-window.c b/cmd-next-window.c index 71346764..d49fe4cb 100644 --- a/cmd-next-window.c +++ b/cmd-next-window.c @@ -29,7 +29,7 @@ int cmd_next_window_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_next_window_entry = { "next-window", "next", - CMD_TARGET_SESSION_USAGE, + "[-a] " CMD_TARGET_SESSION_USAGE, CMD_AFLAG, cmd_next_window_init, cmd_target_parse, diff --git a/cmd-previous-window.c b/cmd-previous-window.c index 7b880347..6163cec1 100644 --- a/cmd-previous-window.c +++ b/cmd-previous-window.c @@ -29,7 +29,7 @@ int cmd_previous_window_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_previous_window_entry = { "previous-window", "prev", - CMD_TARGET_SESSION_USAGE, + "[-a] " CMD_TARGET_SESSION_USAGE, CMD_AFLAG, cmd_previous_window_init, cmd_target_parse, @@ -799,10 +799,14 @@ start-up files. .D1 (alias: Ic nextl ) Move a window to the next layout and rearrange the panes to fit. .It Xo Ic next-window +.Op Fl a .Op Fl t Ar target-session .Xc .D1 (alias: Ic next ) Move to the next window in the session. +If +.Fl a +is used, move to the next window with a bell, activity or content alert. .It Xo Ic paste-buffer .Op Fl d .Op Fl b Ar buffer-index @@ -811,10 +815,14 @@ Move to the next window in the session. .D1 (alias: Ic pasteb ) Insert the contents of a paste buffer into the current window. .It Xo Ic previous-window +.Op Fl a .Op Fl t Ar target-session .Xc .D1 (alias: Ic prev ) Move to the previous window in the session. +With +.Fl a , +move to the previous window with a bell, activity or content alert. .It Xo Ic refresh-client .Op Fl t Ar target-client .Xc |