summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2013-05-18 10:32:04 +0200
committercos <cos>2013-05-25 17:31:45 +0200
commit3b3f081c66b88ba8de4c86a30b4374582fe62413 (patch)
tree96691a4a31fc93b7b0203abe1152247f876a0405
parent1e5cfccbb0d104877c29d7d21d15e5ebae149c78 (diff)
downloadratpoison-3b3f081c66b88ba8de4c86a30b4374582fe62413.zip
Added user documentation for gnumber command.
-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 d3952e8..25aac5e 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 fac0e06..8841eb7 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -594,6 +594,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.