[openbox] [SOLVED] vim-style keybindings in Openbox menus

vlad vla at uni-bonn.de
Fri Jul 31 11:01:22 EDT 2009


interesting,
On Fri, Jul 31, 2009 at 09:49:18AM -0500, dcarroll wrote:
> Area Man Taking His Keybindings Way Too Seriously, reads the headline in  
> my imaginary hometown newspaper.
>
> My weekend science project: Figure out how to navigate the Openbox menus  
> using vim-style keybindings (h/j/k/l) in place of the arrow keys.
>
> If anybody's interested, here's how I did it:
>
> - Mapped W-m to root-menu
> - Made sure none of my menu items began with h,j,k,or l.
> - Added the following to my .xinitrc file, and restarted X
> xmodmap -e "keysym j = j J j J idiaeresis Idiaeresis Down Down"
> xmodmap -e "keysym k = k K k K oe OE Up Up"
> xmodmap -e "keysym h = h H h H h H Left Left"
> xmodmap -e "keysym l = l L l L oslash Oslash Right Right"
>
> At this point, I am able to navigate the Openbox menus without moving my  
> fingers from the home position on the keyboard. (Very cool.)
>
but doesn't this affect other applications? 
vlad

-- 


More information about the openbox mailing list