Re: Expand feature?



* Christopher Bratusek <nano-master gmx de> wrote:
> Am Sonntag, den 15.06.2008, 19:38 +0200 schrieb GSR - FR:
> > Define expand. If you mean enlarging a window to fit others, I would
> > look into the grow-pack module.
> 
> Yes, expanding a window, so that it takes up all free space without
> overlapping the over windows.

In my config, I have bindings to move and resize windows until 
they "hit" something:

(require 'sawfish.wm.keymaps)
;; Keyboard "bump into next obstacle" movement
(bind-keys window-keymap "H-Down" 'pack-window-down)
(bind-keys window-keymap "H-Right" 'pack-window-right)
(bind-keys window-keymap "H-Up" 'pack-window-up)
(bind-keys window-keymap "H-Left" 'pack-window-left)
;; Keyboard "bump into next obstacle" resizes
(bind-keys window-keymap "H-S-Down" 'grow-window-down)
(bind-keys window-keymap "H-S-Right" 'grow-window-right)
(bind-keys window-keymap "H-S-Up" 'grow-window-up)
(bind-keys window-keymap "H-S-Left" 'grow-window-left)
(bind-keys window-keymap "H-m" 'maximize-fill-window-toggle)

That last line is probably the one you want.


-- Scott


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]