[xmonad] For Darcs-Head: How to change Keybindings

David Roundy droundy at darcs.net
Mon Nov 12 10:15:45 EST 2007


On Sun, Nov 11, 2007 at 04:09:07PM -0800, Shachaf Ben-Kiki wrote:
> > To override, delete  or add keys to the Map of keys you have two
> > options:
> >
> >     2) use Map.union/delete/insert to modify only those bindings you're
> >     interested in (leading to a shorter config file)
> >
> > For 2) see sjanssen's config demo in the XMC repo,
> >
> >     http://code.haskell.org/XMonadContrib/XMonad/Config/Sjanssen.hs
> 
> You can also use XMonad.Utils.EZConfig in XMonadContrib for this; see
> the comments for documentation.

If your config uses this, could you stick it in XMonad/Config? That's (in
my opinion) the nicest way to document things.  Not that nice textual
documentation isn't needed, but documentation in comments naturally
degrades, but documentation as code doesn't.  Particularly if you actually
run the documentation.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the xmonad mailing list