mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Add C-w to XMonad.Prompt
* Bind C-w to kill the previous word
This commit is contained in:
parent
955a4bd24f
commit
aa8275e491
@ -320,6 +320,7 @@ keyPressHandle mask (ks,_)
|
||||
| ks == xK_Left -> moveWord Prev >> go
|
||||
| ks == xK_Delete -> killWord Next >> go
|
||||
| ks == xK_BackSpace -> killWord Prev >> go
|
||||
| ks == xK_w -> killWord Prev >> go
|
||||
| ks == xK_g || ks == xK_c -> quit
|
||||
| otherwise -> eventLoop handle -- unhandled control sequence
|
||||
| ks == xK_Return = historyPush >> return ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user