Add edit keybinding

This commit is contained in:
Jonathan Daugherty 2015-05-09 14:06:24 -07:00
parent 7f671c394a
commit 6caf896a0f

View File

@ -89,6 +89,7 @@ editEvent e theEdit = f theEdit
f = case e of
EvKey (KChar 'a') [MCtrl] -> gotoBOL
EvKey (KChar 'e') [MCtrl] -> gotoEOL
EvKey (KChar 'd') [MCtrl] -> deleteChar
EvKey (KChar c) [] | c /= '\t' -> insertChar c
EvKey KDel [] -> deleteChar
EvKey KLeft [] -> moveLeft