summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ratpoison.13
-rw-r--r--doc/ratpoison.texi9
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/ratpoison.1 b/doc/ratpoison.1
index 8b53288..3ab0a92 100644
--- a/doc/ratpoison.1
+++ b/doc/ratpoison.1
@@ -373,6 +373,9 @@ Create a new group named \fIgroupf\fP, but do not select it.
.cmd gnext
Select the next group. Most window commands only see windows in the
effective group.
+.cmd gnumber
+Give the number \fInew\fP to the group with the number \fIold\fP or
+the current group.
.cmd gother
Select the last accessed group. Most window commands only see windows in the
effective group.
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index d6552d5..7b9ce78 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -600,6 +600,15 @@ Go to the previous group in the list.
Rename current group.
@end deffn
+@deffn Command gnumber @var{GROUP} @var{target}
+Set a group's number to @var{GROUP}. If another group occupies the
+requested number already, then the groups' numbers are swapped.
+
+The second argument, @var{target}, is optional. It should be the
+number of the group whose number will be changed. If @var{target} is
+omitted ratpoison defaults to the current group.
+@end deffn
+
@deffn Command gselect @var{group}
Select a particular group by name or number. If @var{group} is not
provided, ratpoison will interactively prompt for the group.