Tuesday, March 10, 2009

wmii-like window movement in FVWM

In the wmii window manager, you use Alt + the vim movement keys (h/j/k/l) to switch windows relative to your current window (ie: Alt+J to select the window below you).

Turns out you can do the same thing in FVWM:
Key K A M Direction North (CurrentDesk) FlipFocus
Key J A M Direction South (CurrentDesk) FlipFocus
Key H A M Direction West (CurrentDesk) FlipFocus
Key L A M Direction East (CurrentDesk) FlipFocus


I'm not exactly sure what FlipFocus does vs just Focus, but it works the way I'd expect. (Selects relative to current window, choosing only among windows on the current desktop)

No comments: