Browse Source

XMonad.Prompt.FuzzyMatch: favor modern windowPrompt in docs

Use modern windowPrompt in docs instead of the deprecated
windowPromptGoto.
master
anthraxx 1 year ago
parent
commit
6dcc36c904
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      XMonad/Prompt/FuzzyMatch.hs

+ 3
- 0
XMonad/Prompt/FuzzyMatch.hs View File

@@ -48,10 +48,10 @@ import Data.List
-- 11. "FastSPR" is ranked before "FasterSPR" because its match starts at
-- position 5 while the match in "FasterSPR" starts at position 7.
--
-- To use these functions in an XPrompt, for example, for windowPrompt:
--
-- > import XMonad.Prompt
-- > import XMonad.Prompt.Window ( windowPrompt )
-- > import XMonad.Prompt.FuzzyMatch
-- >
-- > myXPConfig = def { searchPredicate = fuzzyMatch
@@ -60,7 +60,7 @@ import Data.List
--
-- then add this to your keys definition:
--
-- > , ((modm .|. shiftMask, xK_g), windowPrompt myXPConfig Goto allWindows)
--
-- For detailed instructions on editing the key bindings, see
-- "Xmonad.Doc.Extending#Editing_key_bindings".

Loading…
Cancel
Save