Re: FVWM: vi movement on windows

From: Keith Kaple <kak_at_cisco.com>
Date: Tue, 26 Jun 2001 11:59:39 -0400

Thanks, this is closest to what I am looking for, but I guess it will take some work. For example if I cascade 5 xterms in the upper right hand corner:

|___1_
  |___2_
    |___3_
      |___4_
        |___5_

I expect repeating j or k to move 12345 and 54321 respectively, they don't...

actually they go 1345 and 521, like it wants to work, but something else is "attracting" the focus to the wrong window...

I added !iconic and currentdesk, it seemed to change behavior to be a little better, but still not pure "closest window center" selection.

Tried FlipFocus too, is there anyway to alter the "complex formula"? Or at least fake it out ;+)

Version 2.2.2

thanks,

K




 
On Tue, Jun 26, 2001 at 04:22:25PM +0200, Dominik Vogt wrote:
> On Tue, Jun 26, 2001 at 10:04:37AM -0400, Keith Kaple wrote:
> > I'd like to config for <control> <j|k|l|h> to move between the current desktop windows in a vi fashion based on the geometrical location of upper left corner.
> >
> > Does anyone have a config for this?
>
> The "Direction" command may do what you want:
>
> key j a c Direction South (currentpage) Focus
> key k a c Direction North (currentpage) Focus
> key h a c Direction West (currentpage) Focus
> key l a c Direction East (currentpage) Focus
>
> Window selection is not based on the top left corner though, but a
> complex formula that takes the corners into account as well as the
> window centers. You need 2.2.x for the Direction command.
>
> Bye
>
> Dominik ^_^ ^_^
>
> --
> Dominik Vogt, email: d.vogt_at_lifebits.de
> LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
> fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jun 26 2001 - 10:59:53 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST