These bindings were originally designed to prove that all window managments
functions could be effectivly replaced by modifier keys and the number pad.
Eventually they were ported to a vaguely vi-styled main keyboard design.
Note that the images do not document the direct-to workspace bindings or
several redundant/transitional extra bindings:
W-F[n] goes to workspace [n]
W-C-F[n] goes to workspace [n] bringing the currently selected application along
W-C-F[n] sends the currently selected application to workspace [n]
W-tab/W-S-tab emulate traditional alt-tab designs
W-backslash/W-S-backslash switch to the next/previous workspaces
<?xml version="1.0" encoding="UTF-8"?><openbox_configns="http://openbox.org/"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://openbox.org/ file:///home/clay/openbox/rc.xsd"><!-- Clay's keybindings: "Collision-Free Commanding"A prototype interaction paradigm based off of muscle-memory and vi-stylebindings, and designed to avoid any key binding collisions with programs,all interactions (that could possibly be sent to an application) includethe Super/Meta4 key (often labled the "Windows Key").--><applications><!-- match all windows, and remove their decorations --><applicationclass="*"><decor>no</decor></application></applications><resistance><strength>25</strength><screen_edge_strength>50</screen_edge_strength></resistance><focus><focusNew>yes</focusNew><followMouse>yes</followMouse><focusLast>yes</focusLast><focusDelay>0</focusDelay><raiseOnFocus>no</raiseOnFocus></focus><theme><name>Nop</name><titlelayout>NLIMC</titlelayout><animateIconify>no</animateIconify></theme><placement><policy>Smart</policy></placement><desktops><number>12</number><firstdesk>1</firstdesk><names><name>Alpha(1)</name><name>Beta(2)</name><name>Gamma(3)</name><name>Delta(4)</name><name>Epsilon(5)</name><name>Zeta(6)</name><name>Eta(7)</name><name>Theta(8)</name><name>Iota(9)</name><name>Kappa(10)</name><name>Lambda(11)</name><name>Mu(12)</name></names></desktops><resize><drawContents>yes</drawContents></resize><dock><position>TopLeft</position><stacking>Top</stacking><direction>Vertical</direction><floatingX>0</floatingX><floatingY>0</floatingY><autoHide>yes</autoHide><hideDelay>500</hideDelay><moveButton>W-Left</moveButton></dock><keyboard><chainQuitKey>W-q</chainQuitKey><!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX--><!--XXXX (Almost) One-handed Control Prototype XXXX--><!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX--><!--Movement Layer--><keybindkey="W-C-KP_7"><actionname="MoveToEdgeNorthWest"/></keybind><keybindkey="W-C-KP_9"><actionname="MoveToEdgeNorthEast"/></keybind><keybindkey="W-C-KP_1"><actionname="MoveToEdgeSouthWest"/></keybind><keybindkey="W-C-KP_3"><actionname="MoveToEdgeSouthEast"/></keybind><keybindkey="W-C-U"><actionname="MoveToEdgeNorthWest"/></keybind><keybindkey="W-C-I"><actionname="MoveToEdgeNorthEast"/></keybind><keybindkey="W-C-N"><actionname="MoveToEdgeSouthWest"/></keybind><keybindkey="W-C-M"><actionname="MoveToEdgeSouthEast"/></keybind><keybindkey="W-C-KP_8"><actionname="MoveToEdgeNorth"/></keybind><keybindkey="W-C-K"><actionname="MoveToEdgeNorth"/></keybind><keybindkey="W-C-KP_4"><actionname="MoveToEdgeWest"/></keybind><keybindkey="W-C-H"><actionname="MoveToEdgeWest"/></keybind><keybindkey="W-C-KP_5"><actionname="MoveToCenter"/></keybind><keybindkey="W-C-semicolon"><actionname="MoveToCenter"/></keybind><keybindkey="W-C-KP_6"><actionname="MoveToEdgeEast"/></keybind><keybindkey="W-C-L"><actionname="MoveToEdgeEast"/></keybind><keybindkey="W-C-KP_2"><actionname="MoveToEdgeSouth"/></keybind><keybindkey="W-C-J"><actionname="MoveToEdgeSouth"/></keybind><keybindkey="W-C-KP_0"><actionname="SendToDesktopPrevious"><dialog>no</dialog></action></keybind><keybindkey="W-C-comma"><actionname="SendToDesktopPrevious"><dialog>no</dialog></action></keybind><keybindkey="W-C-KP_Decimal"><actionname="SendToDesktopNext"><dialog>no</dialog></action></keybind><keybindkey="W-C-period"><actionname="SendToDesktopNext"><dialog>no</dialog></action></keybind><keybindkey="W-C-KP_Divide"><actionname="MoveRelative"><x>-20</x></action></keybind><keybindkey="W-C-O"><actionname="MoveRelative"><x>-20</x></action></keybind><keybindkey="W-C-KP_Multiply"><actionname="MoveRelative"><x>20</x></action></keybind><keybindkey="W-C-P"><actionname="MoveRelative"><x>20</x></action></keybind><keybindkey="W-C-KP_Subtract"><actionname="MoveRelative"><y>-20</y></action></keybind><keybindkey="W-C-bracketleft"><actionname="MoveRelative"><y>-20</y></action></keybind><keybindkey="W-C-KP_Add"><actionname="MoveRelative"><y>20</y></action></keybind><keybindkey="W-C-apostrophe"><actionname="MoveRelative"><y>20</y></action></keybind><keybindkey="W-C-KP_Enter"><actionname="Iconify"/></keybind><keybindkey="W-C-slash"><actionname="Iconify"/></keybind><!--END of Movement Layer--><!--Focus Layer--><keybindkey="W-KP_7"><actionname="DirectionalFocusNorthWest"/></keybind><keybindkey="W-KP_9"><actionname="DirectionalFocusNorthEast"/></keybind><keybindkey="W-KP_1"><actionname="DirectionalFocusSouthWest"/></keybind><keybindkey="W-KP_3"><actionname="DirectionalFocusSouthEast"/></keybind><keybindkey="W-U"><actionname="DirectionalFocusNorthWest"/></keybind><keybindkey="W-I"><actionname="DirectionalFocusNorthEast"/></keybind><keybindkey="W-N"><actionname="DirectionalFocusSouthWest"/></keybind><keybindkey="W-M"><actionname="DirectionalFocusSouthEast"/></keybind><keybindkey="W-S-KP_5"><actionname="PreviousWindow"/></keybind><keybindkey="W-KP_8"><actionname="DirectionalFocusNorth"/></keybind><keybindkey="W-K"><actionname="DirectionalFocusNorth"/></keybind><keybindkey="W-KP_4"><actionname="DirectionalFocusWest"/></keybind><keybindkey="W-H"><actionname="DirectionalFocusWest"/></keybind><keybindkey="W-KP_5"><actionname="NextWindow"/></keybind><keybindkey="W-semicolon"><actionname="NextWindow"/></keybind><keybindkey="W-S-KP_5"><actionname="PreviousWindow"/></keybind><keybindkey="W-S-semicolon"><actionname="PreviousWindow"/></keybind><keybindkey="W-KP_6"><actionname="DirectionalFocusEast"/></keybind><keybindkey="W-L"><actionname="DirectionalFocusEast"/></keybind><keybindkey="W-KP_2"><actionname="DirectionalFocusSouth"/></keybind><keybindkey="W-J"><actionname="DirectionalFocusSouth"/></keybind><keybindkey="W-KP_0"><actionname="DesktopPrevious"/></keybind><keybindkey="W-comma"><actionname="DesktopPrevious"/></keybind><keybindkey="W-KP_Decimal"><actionname="DesktopNext"/></keybind><keybindkey="W-period"><actionname="DesktopNext"/></keybind><keybindkey="W-KP_Divide"><actionname="Execute"><command>gmrun</command></action></keybind><keybindkey="W-O"><actionname="Execute"><command>gmrun</command></action></keybind><keybindkey="W-KP_Multiply"><actionname="ToggleOmnipresent"/></keybind><keybindkey="W-P"><actionname="ToggleOmnipresent"/></keybind><keybindkey="W-KP_Subtract"><actionname="Raise"/></keybind><keybindkey="W-bracketleft"><actionname="Raise"/></keybind><keybindkey="W-KP_Add"><actionname="Lower"/></keybind><keybindkey="W-apostrophe"><actionname="Lower"/></keybind><keybindkey="W-KP_Enter"><actionname="ToggleDecorations"/></keybind><keybindkey="W-slash"><actionname="ToggleDecorations"/></keybind><!--END Focus Layer--><!--Size Layer--><keybindkey="W-A-KP_7"><actionname="GrowToEdgeNorthWest"/></keybind><keybindkey="W-A-KP_9"><actionname="GrowToEdgeNorthEast"/></keybind><keybindkey="W-A-KP_1"><actionname="GrowToEdgeSouthWest"/></keybind><keybindkey="W-A-KP_3"><actionname="GrowToEdgeSouthEast"/></keybind><keybindkey="W-A-U"><actionname="GrowToEdgeNorthWest"/></keybind><keybindkey="W-A-I"><actionname="GrowToEdgeNorthEast"/></keybind><keybindkey="W-A-N"><actionname="GrowToEdgeSouthWest"/></keybind><keybindkey="W-A-M"><actionname="GrowToEdgeSouthEast"/></keybind><keybindkey="W-A-KP_8"><actionname="GrowToEdgeNorth"/></keybind><keybindkey="W-A-K"><actionname="GrowToEdgeNorth"/></keybind><keybindkey="W-A-KP_4"><actionname="GrowToEdgeWest"/></keybind><keybindkey="W-A-H"><actionname="GrowToEdgeWest"/></keybind><keybindkey="W-A-KP_5"><actionname="Close"/></keybind><keybindkey="W-A-semicolon"><actionname="Close"/></keybind><keybindkey="W-A-KP_6"><actionname="GrowToEdgeEast"/></keybind><keybindkey="W-A-L"><actionname="GrowToEdgeEast"/></keybind><keybindkey="W-A-KP_2"><actionname="GrowToEdgeSouth"/></keybind><keybindkey="W-A-J"><actionname="GrowToEdgeSouth"/></keybind><keybindkey="W-A-KP_Divide"><actionname="ResizeRelative"><right>-20</right></action></keybind><keybindkey="W-A-O"><actionname="ResizeRelative"><right>-20</right></action></keybind><keybindkey="W-A-KP_Multiply"><actionname="ResizeRelative"><right>20</right></action></keybind><keybindkey="W-A-P"><actionname="ResizeRelative"><right>20</right></action></keybind><keybindkey="W-A-KP_Subtract"><actionname="ResizeRelative"><bottom>-20</bottom></action></keybind><keybindkey="W-A-bracketleft"><actionname="ResizeRelative"><bottom>-20</bottom></action></keybind><keybindkey="W-A-KP_Add"><actionname="ResizeRelative"><bottom>20</bottom></action></keybind><keybindkey="W-A-apostrophe"><actionname="ResizeRelative"><bottom>20</bottom></action></keybind><keybindkey="W-A-KP_0"><actionname="ToggleMaximizeHorz"/></keybind><keybindkey="W-A-comma"><actionname="ToggleMaximizeHorz"/></keybind><keybindkey="W-A-KP_Decimal"><actionname="ToggleShade"/></keybind><keybindkey="W-A-period"><actionname="ToggleShade"/></keybind><keybindkey="W-A-KP_Enter"><actionname="ToggleMaximizeVert"/></keybind><keybindkey="W-A-slash"><actionname="ToggleMaximizeVert"/></keybind><!--END of Size Layer--><!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX--><!--Workspace Switch Bindings--><keybindkey="W-C-F1"><actionname="SendToDesktop"><desktop>1</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F2"><actionname="SendToDesktop"><desktop>2</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F3"><actionname="SendToDesktop"><desktop>3</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F4"><actionname="SendToDesktop"><desktop>4</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F5"><actionname="SendToDesktop"><desktop>5</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F6"><actionname="SendToDesktop"><desktop>6</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F7"><actionname="SendToDesktop"><desktop>7</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F8"><actionname="SendToDesktop"><desktop>8</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F9"><actionname="SendToDesktop"><desktop>9</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F10"><actionname="SendToDesktop"><desktop>10</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F11"><actionname="SendToDesktop"><desktop>11</desktop><follow>yes</follow></action></keybind><keybindkey="W-C-F12"><actionname="SendToDesktop"><desktop>12</desktop><follow>yes</follow></action></keybind><keybindkey="W-F1"><actionname="Desktop"><desktop>1</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F2"><actionname="Desktop"><desktop>2</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F3"><actionname="Desktop"><desktop>3</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F4"><actionname="Desktop"><desktop>4</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F5"><actionname="Desktop"><desktop>5</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F6"><actionname="Desktop"><desktop>6</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F7"><actionname="Desktop"><desktop>7</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F8"><actionname="Desktop"><desktop>8</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F9"><actionname="Desktop"><desktop>9</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F10"><actionname="Desktop"><desktop>10</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F11"><actionname="Desktop"><desktop>11</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-F12"><actionname="Desktop"><desktop>12</desktop><dialog>yes</dialog></action></keybind><keybindkey="W-A-F1"><actionname="SendToDesktop"><desktop>1</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F2"><actionname="SendToDesktop"><desktop>2</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F3"><actionname="SendToDesktop"><desktop>3</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F4"><actionname="SendToDesktop"><desktop>4</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F5"><actionname="SendToDesktop"><desktop>5</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F6"><actionname="SendToDesktop"><desktop>6</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F7"><actionname="SendToDesktop"><desktop>7</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F8"><actionname="SendToDesktop"><desktop>8</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F9"><actionname="SendToDesktop"><desktop>9</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F10"><actionname="SendToDesktop"><desktop>10</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F11"><actionname="SendToDesktop"><desktop>11</desktop><follow>no</follow></action></keybind><keybindkey="W-A-F12"><actionname="SendToDesktop"><desktop>12</desktop><follow>no</follow></action></keybind><!-- Workspace Switch Bindings --><keybindkey="W-backslash"><actionname="DesktopNext"><wrap>yes</wrap><dialog>no</dialog></action></keybind><keybindkey="XF86AudioRaiseVolume"><actionname="DesktopNext"><wrap>yes</wrap><dialog>no</dialog></action></keybind><keybindkey="W-S-backslash"><actionname="DesktopPrevious"><wrap>yes</wrap><dialog>no</dialog></action></keybind><keybindkey="XF86AudioLowerVolume"><actionname="DesktopPrevious"><wrap>yes</wrap><dialog>no</dialog></action></keybind><!-- END of Workspace Switch Bindings --><!-- Application Switch Bindings --><keybindkey="W-Tab"><actionname="NextWindow"/></keybind><keybindkey="W-S-Tab"><actionname="PreviousWindow"/></keybind><!-- END of Application Switch Bindings --><!--Show Menu Bindings--><keybindkey="W-Menu"><actionname="ShowMenu"><menu>client-menu</menu></action></keybind><keybindkey="W-grave"><actionname="ShowMenu"><menu>client-list-menu</menu></action></keybind><keybindkey="XF86Go"><actionname="ShowMenu"><menu>root-menu</menu></action></keybind><keybindkey="XF86Back"><actionname="ShowMenu"><menu>client-list-menu</menu></action></keybind><!--END of Show Menu Bindings--><keybindkey="W-Print"><actionname="ShowMenu"><menu>root-menu</menu></action></keybind><keybindkey="W-Scroll_Lock"><actionname="ShowMenu"><menu>client-list-menu</menu></action></keybind><keybindkey="W-Pause"><actionname="Execute"><command>xscreensaver-command-l</command></action></keybind><keybindkey="XF86UserPB"><actionname="Execute"><command>xscreensaver-command-l</command></action></keybind><keybindkey="W-r"><actionname="Execute"><command>rox</command></action></keybind><keybindkey="W-t"><actionname="Execute"><command>urxvt-bgblack-fgwhite+sb-sl1024</command></action></keybind></keyboard><mouse><dragThreshold>3</dragThreshold><doubleClickTime>200</doubleClickTime><contextname="Frame"><mousebindbutton="W-Left"action="Drag"><actionname="Move"/></mousebind><mousebindbutton="W-Left"action="Click"><actionname="Raise"/></mousebind><mousebindbutton="W-Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="W-Right"action="Drag"><actionname="Resize"/></mousebind><mousebindbutton="W-Middle"action="Click"><actionname="Lower"/></mousebind><mousebindbutton="W-Middle"action="Press"><actionname="ShowMenu"><menu>client-menu</menu></action></mousebind><mousebindbutton="W-Up"action="Click"><actionname="DesktopNext"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind><mousebindbutton="W-Down"action="Click"><actionname="DesktopPrevious"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind><mousebindbutton="W-A-Up"action="Click"><actionname="SendToDesktopPrevious"/></mousebind><mousebindbutton="W-A-Down"action="Click"><actionname="SendToDesktopNext"/></mousebind></context><contextname="Titlebar"><mousebindbutton="Left"action="Drag"><actionname="Move"/></mousebind><mousebindbutton="Left"action="Click"><actionname="Raise"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="DoubleClick"><actionname="ToggleShade"/></mousebind><mousebindbutton="Middle"action="Press"><actionname="Lower"/></mousebind><mousebindbutton="Up"action="Click"><actionname="Shade"/></mousebind><mousebindbutton="Down"action="Click"><actionname="Unshade"/></mousebind><mousebindbutton="Right"action="Press"><actionname="ShowMenu"><menu>client-menu</menu></action></mousebind></context><contextname="Handle"><mousebindbutton="Left"action="Drag"><actionname="Move"/></mousebind><mousebindbutton="Left"action="Click"><actionname="Raise"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Middle"action="Press"><actionname="Lower"/></mousebind></context><contextname="BLCorner"><mousebindbutton="Left"action="Drag"><actionname="Resize"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind></context><contextname="BRCorner"><mousebindbutton="Left"action="Drag"><actionname="Resize"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind></context><contextname="TLCorner"><mousebindbutton="Left"action="Drag"><actionname="Resize"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind></context><contextname="TRCorner"><mousebindbutton="Left"action="Drag"><actionname="Resize"/></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind></context><contextname="Client"><mousebindbutton="Left"action="Press"><actionname="Focus"/><actionname="Raise"/></mousebind><mousebindbutton="Middle"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Right"action="Press"><actionname="Focus"/></mousebind></context><contextname="Icon"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Right"action="Press"><actionname="ShowMenu"><menu>client-menu</menu></action></mousebind><mousebindbutton="Left"action="Press"><actionname="ShowMenu"><menu>client-menu</menu></action></mousebind></context><contextname="AllDesktops"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="Click"><actionname="ToggleOmnipresent"/></mousebind></context><contextname="Shade"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="Click"><actionname="ToggleShade"/></mousebind></context><contextname="Iconify"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="Click"><actionname="Iconify"/></mousebind></context><contextname="Maximize"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Middle"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Right"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="Click"><actionname="ToggleMaximizeFull"/></mousebind><mousebindbutton="Middle"action="Click"><actionname="ToggleMaximizeVert"/></mousebind><mousebindbutton="Right"action="Click"><actionname="ToggleMaximizeHorz"/></mousebind></context><contextname="Close"><mousebindbutton="Left"action="Press"><actionname="Focus"/></mousebind><mousebindbutton="Left"action="Click"><actionname="Close"/></mousebind></context><contextname="Desktop"><mousebindbutton="W-Up"action="Press"><actionname="DesktopNext"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind><mousebindbutton="W-Down"action="Press"><actionname="DesktopPrevious"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind><mousebindbutton="Left"action="Press"><actionname="Focus"/><actionname="Raise"/></mousebind><mousebindbutton="Middle"action="Press"><actionname="ShowMenu"><menu>client-list-menu</menu></action></mousebind><mousebindbutton="Right"action="Press"><actionname="ShowMenu"><menu>root-menu</menu></action></mousebind></context><contextname="MoveResize"><mousebindbutton="Up"action="Press"><actionname="DesktopNext"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind><mousebindbutton="Down"action="Press"><actionname="DesktopPrevious"><wrap>yes</wrap><dialog>yes</dialog></action></mousebind></context></mouse><menu><!-- You can specify more than one menu file in here and they are all loaded, just don't make menu ids clash or, well, it'll be kind of pointless --><!-- default menu file (or custom one in $HOME/.config/openbox/) --><file>$HOME/openbox/menu.xml</file></menu></openbox_config>
Since I am extremely lazy and have a poor memory, I wanted even more
Vim-like windows bindings than the above example. I came up with the
following which tries to closely emulate the regular Vim ctrl-w
multi-window controls, substituting the Windows key for ctrl.
This is not a complete rc.xml, the following should be placed within
your regular <keyboard></keyboard> section. I only use four virtual
desktops, so you'll need to add additional lines if you use more.
<keybindkey="W-w"><!-- "Move the cursor to other windows" to move windows --><keybindkey="h"><actionname="MoveToEdgeWest"/></keybind><keybindkey="l"><actionname="MoveToEdgeEast"/></keybind><keybindkey="j"><actionname="MoveToEdgeSouth"/></keybind><keybindkey="k"><actionname="MoveToEdgeNorth"/></keybind><!-- This a fudge, as there isn't a great Vim equivalent --><keybindkey="equal"><actionname="MoveToCenter"/></keybind><!-- "Move the window" to grow windows --><keybindkey="S-h"><actionname="GrowToEdgeWest"/></keybind><keybindkey="S-l"><actionname="GrowToEdgeEast"/></keybind><keybindkey="S-j"><actionname="GrowToEdgeSouth"/></keybind><keybindkey="S-k"><actionname="GrowToEdgeNorth"/></keybind><!-- the following blocks have fairly canonical Vim equivalents --><keybindkey="S-bar"><actionname="ToggleMaximizeHorz"/></keybind><keybindkey="S-underscore"><actionname="ToggleMaximizeVert"/></keybind><keybindkey="S-less"><actionname="ResizeRelative"><left>2</left></action></keybind><keybindkey="S-greater"><actionname="ResizeRelative"><right>2</right></action></keybind><keybindkey="S-plus"><actionname="ResizeRelative"><top>2</top></action></keybind><keybindkey="minus"><actionname="ResizeRelative"><bottom>2</bottom></action></keybind><keybindkey="o"><actionname="ToggleMaximizeFull"/></keybind><keybindkey="c"><actionname="Close"/></keybind><keybindkey="p"><actionname="DesktopLast"/></keybind><!-- "Split windows" to send them to nearby destops, "vertical splits" don't follow Use a "count" to send a window to a specific desktop. Special case: using a capital when using a "count" sends the window to a specific monitor. --><keybindkey="s"><actionname="SendToDesktopNext"><follow>yes</follow></action></keybind><keybindkey="S-s"><actionname="SendToDesktopPrevious"><follow>yes</follow></action></keybind><keybindkey="v"><actionname="SendToDesktopNext"><follow>no</follow></action></keybind><keybindkey="S-v"><actionname="SendToDesktopPrevious"><follow>no</follow></action></keybind><keybindkey="1"><keybindkey="s"><actionname="SendToDesktop"><desktop>1</desktop><follow>yes</follow></action></keybind><keybindkey="v"><actionname="SendToDesktop"><desktop>1</desktop><follow>no</follow></action></keybind><keybindkey="S-s"><actionname="MoveResizeTo"><monitor>1</monitor></action></keybind></keybind><keybindkey="2"><keybindkey="s"><actionname="SendToDesktop"><desktop>2</desktop><follow>yes</follow></action></keybind><keybindkey="v"><actionname="SendToDesktop"><desktop>2</desktop><follow>no</follow></action></keybind><keybindkey="S-s"><actionname="MoveResizeTo"><monitor>2</monitor></action></keybind></keybind><keybindkey="3"><keybindkey="s"><actionname="SendToDesktop"><desktop>3</desktop><follow>yes</follow></action></keybind><keybindkey="v"><actionname="SendToDesktop"><desktop>3</desktop><follow>no</follow></action></keybind><keybindkey="S-s"><actionname="MoveResizeTo"><monitor>3</monitor></action></keybind></keybind><keybindkey="4"><keybindkey="s"><actionname="SendToDesktop"><desktop>4</desktop><follow>yes</follow></action></keybind><keybindkey="v"><actionname="SendToDesktop"><desktop>4</desktop><follow>no</follow></action></keybind><keybindkey="S-s"><actionname="MoveResizeTo"><monitor>4</monitor></action></keybind></keybind></keybind>