Permalink
Browse files

Rework window managment bindings.

  • Loading branch information...
1 parent f4136de commit a442badd7495776722e58672fffe6907c0deb278 @arnsholt committed Mar 13, 2013
Showing with 7 additions and 12 deletions.
  1. +7 −12 dot.xmonad/xmonad.hs
View
@@ -109,18 +109,13 @@ keys' conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- refresh
, ((modMask, xK_n ), refresh)
- -- focus
- , ((modMask, xK_Tab ), windows W.focusDown)
- , ((modMask, xK_j ), windows W.focusDown)
- , ((modMask, xK_k ), windows W.focusUp)
- , ((modMask, xK_m ), windows W.focusMaster)
- , ((modMask .|. shiftMask, xK_m ), windows W.shiftMaster)
-
- -- swapping
- -- TODO: Use modMask+Up/Down to swap
- , ((modMask .|. shiftMask, xK_Return), windows W.swapMaster)
- , ((modMask .|. shiftMask, xK_j ), windows W.swapDown )
- , ((modMask .|. shiftMask, xK_k ), windows W.swapUp )
+ -- focus and swapping
+ , ((modMask, xK_Up ), windows W.focusUp)
+ , ((modMask, xK_Down ), windows W.focusDown)
+ , ((modMask .|. shiftMask, xK_Up ), windows W.swapUp)
+ , ((modMask .|. shiftMask, xK_Down ), windows W.swapDown)
+ , ((modMask, xK_Home ), windows W.focusMaster)
+ , ((modMask .|. shiftMask, xK_Home ), windows W.shiftMaster)
-- increase or decrease number of windows in the master area
, ((modMask , xK_comma ), sendMessage (IncMasterN 1))

0 comments on commit a442bad

Please sign in to comment.