diff options
author | Carlos Lopez-Camey <c.lopez@kmels.net> | 2012-04-21 13:07:37 +0200 |
---|---|---|
committer | Carlos Lopez-Camey <c.lopez@kmels.net> | 2012-04-21 13:07:37 +0200 |
commit | 9b99267620146d41389f84e4b26df708223376b0 (patch) | |
tree | 61d98dec3fcd331c0999b86a5abf413560ca3f49 /XMonad | |
parent | ebbab5970303e2bc0c335c72fc04ad57ed8ffc16 (diff) | |
download | XMonadContrib-9b99267620146d41389f84e4b26df708223376b0.tar.gz XMonadContrib-9b99267620146d41389f84e4b26df708223376b0.tar.xz XMonadContrib-9b99267620146d41389f84e4b26df708223376b0.zip |
Add emacs-like keys to browse history in XMonad.Prompt
Ignore-this: b90345f72007d09a6b732b974c0faf79
darcs-hash:20120421110737-95218-06c3ee13fed5302ee3bd2e02a143cbca73a793c5.gz
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Prompt.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/XMonad/Prompt.hs b/XMonad/Prompt.hs index 7679b95..802bdd0 100644 --- a/XMonad/Prompt.hs +++ b/XMonad/Prompt.hs @@ -462,6 +462,8 @@ emacsLikeXPKeymap = M.fromList $ , (xK_f, moveWord Next) -- move a word forward , (xK_b, moveWord Prev) -- move a word backward , (xK_d, killWord Next) -- kill the next word + , (xK_n, moveHistory W.focusUp') + , (xK_p, moveHistory W.focusDown') ] ++ map (first $ (,) 0) -- <key> |