aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2008-02-27 17:46:02 +0100
committerBrent Yorgey <byorgey@gmail.com>2008-02-27 17:46:02 +0100
commit1f1c39ff64cd48baa98681239fe8f26d18b2ccef (patch)
treea3125133d0e2bc27d6bc2b75520a42fe14c9ab76 /XMonad/Util
parent4c6da19f9dc579dfefa3a511213b619e2a04a235 (diff)
downloadXMonadContrib-1f1c39ff64cd48baa98681239fe8f26d18b2ccef.tar.gz
XMonadContrib-1f1c39ff64cd48baa98681239fe8f26d18b2ccef.tar.xz
XMonadContrib-1f1c39ff64cd48baa98681239fe8f26d18b2ccef.zip
EZConfig: additional documentation
darcs-hash:20080227164602-bd4d7-e866f61a86ddf7713450dcbe048ac914a216fe38.gz
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/EZConfig.hs18
1 files changed, 15 insertions, 3 deletions
diff --git a/XMonad/Util/EZConfig.hs b/XMonad/Util/EZConfig.hs
index 1033c8a..caffc5d 100644
--- a/XMonad/Util/EZConfig.hs
+++ b/XMonad/Util/EZConfig.hs
@@ -24,7 +24,7 @@ module XMonad.Util.EZConfig (
removeKeys, removeKeysP,
additionalMouseBindings, removeMouseBindings,
- -- * Nicer keybinding specifications
+ -- * Emacs-style keybinding specifications
mkKeymap, checkKeymap,
) where
@@ -46,8 +46,20 @@ import Text.ParserCombinators.ReadP
-- > import XMonad.Util.EZConfig
--
-- Then, use one of the provided functions to modify your
--- configuration. See the documentation provided with each exported
--- function for more information.
+-- configuration. You can use 'additionalKeys', 'removeKeys',
+-- 'additionalMouseBindings', and 'removeMouseBindings' to easily add
+-- and remove keybindings or mouse bindings. You can use 'mkKeymap'
+-- to create a keymap using emacs-style keybinding specifications
+-- like @\"M-x\"@ instead of @(modMask, xK_x)@, or 'additionalKeysP'
+-- and 'removeKeysP' to easily add or remove emacs-style keybindings.
+-- If you use emacs-style keybindings, the 'checkKeymap' function is
+-- provided, suitable for adding to your 'startupHook', which can warn
+-- you of any parse errors or duplicate bindings in your keymap.
+--
+-- For more information and usage eamples, see the documentation
+-- provided with each exported function, and check the xmonad config
+-- archive (<http://haskell.org/haskellwiki/Xmonad/Config_archive>)
+-- for some real examples of use.
-- |
-- Add or override keybindings from the existing set. Example use: