yi-0.6.2.3: The Haskell-Scriptable EditorSource codeContentsIndex
Yi.Event
Contents
Key codes
Synopsis
data Event = Event Key [Modifier]
prettyEvent :: Event -> String
data Key
= KEsc
| KFun Int
| KPrtScr
| KPause
| KASCII Char
| KBS
| KIns
| KHome
| KPageUp
| KDel
| KEnd
| KPageDown
| KNP5
| KUp
| KMenu
| KLeft
| KDown
| KRight
| KEnter
| KTab
data Modifier
= MShift
| MCtrl
| MMeta
| MSuper
eventToChar :: Event -> Char
Documentation
data Event Source
Constructors
Event Key [Modifier]
show/hide Instances
prettyEvent :: Event -> StringSource
data Key Source
Constructors
KEsc
KFun Int
KPrtScr
KPause
KASCII Char
KBS
KIns
KHome
KPageUp
KDel
KEnd
KPageDown
KNP5
KUp
KMenu
KLeft
KDown
KRight
KEnter
KTab
show/hide Instances
data Modifier Source
Constructors
MShift
MCtrl
MMeta
MSuper
show/hide Instances
Key codes
eventToChar :: Event -> CharSource
Map an Event to a Char. This is used in the emacs keymap for Ctrl-Q and vim keymap insertSpecialChar
Produced by Haddock version 2.6.1