summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-10-18 09:03:42 +0000
committersabetts <sabetts>2002-10-18 09:03:42 +0000
commit1320a80e669c272c80f50e670684b1b689dcf4b2 (patch)
tree6eb4e39ff61dee260239e8de71ef48bc7eea3808 /doc
parent37798ce885a55a4400ac3b0c72a0fb4fe33efb57 (diff)
downloadratpoison-1320a80e669c272c80f50e670684b1b689dcf4b2.zip
* src/actions.c (read_split): a negative number means subtract the
pixels from the frame's current size to get the new frame's size.
Diffstat (limited to 'doc')
-rw-r--r--doc/ratpoison.texi22
1 files changed, 17 insertions, 5 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi
index c3371eb..3285f64 100644
--- a/doc/ratpoison.texi
+++ b/doc/ratpoison.texi
@@ -683,11 +683,17 @@ Set the environment variable @var{env} to @var{value}
@item source @var{file}
Read a text file containing ratpoison commands.
-@item split
-@item hsplit
-Split the current window horizontally in two. The last accessed window
+@item split @var{n}
+@item hsplit @var{n}
+Split the current window horizontally. The last accessed window
not occupying a frame will be the second window.
+@var{n} is either a ratio of the form @code{x/y} or a number. If it is
+a ratio then the two frames are sized according to the ratio. If it is
+a pixel, the original frame is resized to that many pixels. If @var{n}
+has a minus sign before it, then the new frame will be that many
+pixels.
+
@item startup_message @var{state}
Turn on or off the startup_message. This is most useful in your
.ratpoisonrc file. @var{state} can be @code{on} or @code{off}.
@@ -706,10 +712,16 @@ Clear the value of the environment variable, @var{env}.
@item version
Print ratpoison version. By default, this is bound to @kbd{C-t v}.
-@item vsplit
-Split the current window vertically in two. The last accessed window not
+@item vsplit @var{n}
+Split the current window vertically. The last accessed window not
occupying a frame will be the second window.
+@var{n} is either a ratio of the form @code{x/y} or a number. If it is
+a ratio then the two frames are sized according to the ratio. If it is
+a pixel, the original frame is resized to that many pixels. If @var{n}
+has a minus sign before it, then the new frame will be that many
+pixels.
+
@item windows @var{fmt}
This displays the Program Bar which displays the windows you currently
have running. The number before each window name is used to jump to