mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-07 23:41:52 -07:00
Add emacs-like keys to browse history in XMonad.Prompt
This commit is contained in:
@@ -462,6 +462,8 @@ emacsLikeXPKeymap = M.fromList $
|
|||||||
, (xK_f, moveWord Next) -- move a word forward
|
, (xK_f, moveWord Next) -- move a word forward
|
||||||
, (xK_b, moveWord Prev) -- move a word backward
|
, (xK_b, moveWord Prev) -- move a word backward
|
||||||
, (xK_d, killWord Next) -- kill the next word
|
, (xK_d, killWord Next) -- kill the next word
|
||||||
|
, (xK_n, moveHistory W.focusUp')
|
||||||
|
, (xK_p, moveHistory W.focusDown')
|
||||||
]
|
]
|
||||||
++
|
++
|
||||||
map (first $ (,) 0) -- <key>
|
map (first $ (,) 0) -- <key>
|
||||||
|
Reference in New Issue
Block a user