Node: Resizing Frames, Next: , Previous: Splitting Frames, Up: Splitting Frames



Resizing Frames

ratpoison provides a command, resize, that resizes the current frame. It is bound to the key C-t r by default. resize can be used non-interactively by providing two arguments: the number of pixels to grow horizontally and the number to grow vertically. For example, if you wanted to grow the current window by 10 pixels horizontally and shrink it vertically by 50 you could enter the command:

     resize 10 -50
     

When resizing interactively, the following keys are used:

C-p
Grow the frame vertically.
C-n
Shrink the frame horizontally.
C-f
Grow the frame horizontally.
C-b
Shrink the frame horizontally.
return
Accept the new frame size.
C-g
Abort and restore the frame to its original size.

The increment size used to resize the frame interactively is customized with the command defresizeunit.