[openbox] [Patch] Custom move/resize keybindings

Martin Lucina martin at lucina.net
Sun May 13 09:22:33 EDT 2012


rephorm at rephorm.com said:
> The attached patch adds the ability to customize move/resize 'arrow' key
> bindings. For example, if one wants vim bindings the following works:
> <keyboard>
>   <!-- ... -->
>   <moveresize>
>     <left>h</left>
>     <right>l</right>
>     <down>j</down>
>     <up>k</up>
>   </moveresize>
> </keyboard>
> By default, the normal arrow keys are used.

How is this an improvement over and above the existing chroot support?

   <keybind key="W-m" chroot="true">
      <keybind key="h">
        <action name="MoveToEdgeWest"/>
      <keybind key="j">
        <action name="MoveToEdgeSouth"/>
      <keybind key="k">
        <action name="MoveToEdgeNorth"/>
      <keybind key="l">
        <action name="MoveToEdgeEast"/>
      <keybind key="Escape">
        <action name="BreakChroot"/>

I think you might have missed this functionality.

Martin Lucina
http://lucina.net/ (interwebs/blogs/rants/consulting)
martin at lucina.net  (smtp/xmpp/jabber/gtalk)
@matolucina        (twitter)

More information about the openbox mailing list