From c32cf9e244a39b759017ee849d1673146e1e9880 Mon Sep 17 00:00:00 2001 From: Devin Mullins Date: Fri, 4 Jul 2008 09:34:15 +0200 Subject: add autoComplete option to XMonad.Prompt Maybe this will get Gwern one step closer to a complete Ratpoison binding. darcs-hash:20080704073415-78224-e0d0f2fe32cd4d30972eb781e51fdfd78822ffbe.gz --- XMonad/Prompt/Window.hs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'XMonad/Prompt/Window.hs') diff --git a/XMonad/Prompt/Window.hs b/XMonad/Prompt/Window.hs index cf34fdd..65d4009 100644 --- a/XMonad/Prompt/Window.hs +++ b/XMonad/Prompt/Window.hs @@ -45,6 +45,15 @@ import XMonad.Actions.WindowBringer -- > , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto defaultXPConfig) -- > , ((modMask x .|. shiftMask, xK_b ), windowPromptBring defaultXPConfig) -- +-- The autoComplete option is a handy complement here: +-- +-- > , ((modMask x .|. shiftMask, xK_g ), windowPromptGoto +-- > defaultXPConfig { autoComplete = Just 500000 } ) +-- +-- The \'500000\' is the number of microseconds to pause before sending you to +-- your new window. This is useful so that you don't accidentally send some +-- keystrokes to the selected client. +-- -- For detailed instruction on editing the key binding see -- "XMonad.Doc.Extending#Editing_key_bindings". -- cgit v1.2.3