yi-0.11.0: The Haskell-Scriptable Editor

Safe HaskellSafe-Inferred

Yi.Event

Contents

Synopsis

Documentation

data Event Source

Constructors

Event Key [Modifier] 

Instances

Eq Event 
Ord Event 
Show Event 

data Key Source

Instances

Eq Key 
Ord Key 
Show Key 

data Modifier Source

Constructors

MShift 
MCtrl 
MMeta 
MSuper 
MHyper 

Instances

Eq Modifier 
Ord Modifier 
Show Modifier 

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