From 3abc1121a3a0d9b0a0397999d7b71d4d1d851e93 Mon Sep 17 00:00:00 2001 From: Brent Yorgey Date: Fri, 16 Jan 2009 16:31:43 +0100 Subject: X.U.EZConfig: expand documentation darcs-hash:20090116153143-1e371-fdb01ad19eae7869cd65ee6acb6f75466559a61e.gz --- XMonad/Util/EZConfig.hs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'XMonad/Util/EZConfig.hs') diff --git a/XMonad/Util/EZConfig.hs b/XMonad/Util/EZConfig.hs index 08f38da..c37f94b 100644 --- a/XMonad/Util/EZConfig.hs +++ b/XMonad/Util/EZConfig.hs @@ -134,11 +134,16 @@ removeMouseBindings conf mouseBindingList = -- the key sequence descriptions contained in the Strings. The key -- sequence descriptions are \"emacs-style\": @M-@, @C-@, @S-@, and -- @M\#-@ denote mod, control, shift, and mod1-mod5 (where @\#@ is --- replaced by the appropriate number) respectively; some special --- keys can be specified by enclosing their name in angle brackets. +-- replaced by the appropriate number) respectively. Note that if +-- you want to make a keybinding using \'alt\' even though you use a +-- different key (like the \'windows\' key) for \'mod\', you can use +-- something like @\"M1-x\"@ for alt+x (check the output of @xmodmap@ +-- to see which mod key \'alt\' is bound to). Some special keys can +-- also be specified by enclosing their name in angle brackets. -- --- For example, @\"M-C-x\"@ denotes mod+ctrl+x; @\"S-\\"@ denotes --- shift-escape. +-- For example, @\"M-C-x\"@ denotes mod+ctrl+x; @\"S-\\"@ +-- denotes shift-escape; @\"M1-C-\\"@ denotes alt+ctrl+delete +-- (assuming alt is bound to mod1, which is common). -- -- Sequences of keys can also be specified by separating the key -- descriptions with spaces. For example, @\"M-x y \\"@ denotes the @@ -159,7 +164,10 @@ removeMouseBindings conf mouseBindingList = -- create a keymap and add it to your config. -- -- Here is a complete list of supported special keys. Note that a few --- keys, such as the arrow keys, have synonyms: +-- keys, such as the arrow keys, have synonyms. If there are other +-- special keys you would like to see supported, feel free to submit a +-- patch, or ask on the xmonad mailing list; adding special keys is +-- quite simple. -- -- > -- > -- cgit v1.2.3