yi-0.6.2.3: The Haskell-Scriptable EditorSource codeContentsIndex
Yi.Keymap.Keys
Description
Combinators for building keymaps.
Synopsis
module Yi.Event
module Yi.Interact
printableChar :: MonadInteract m w Event => m Char
charOf :: MonadInteract m w Event => (Event -> Event) -> Char -> Char -> m Char
shift :: Event -> Event
meta :: Event -> Event
ctrl :: Event -> Event
super :: Event -> Event
spec :: Key -> Event
char :: Char -> Event
(>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => m b -> a -> m ()
(>>=!) :: (MonadInteract m Action Event, YiAction a x, Show x) => m b -> (b -> a) -> m ()
(?>>) :: MonadInteract m action Event => Event -> m a -> m a
(?>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => Event -> a -> m ()
(?*>>) :: MonadInteract m action Event => [Event] -> m a -> m a
(?*>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => [Event] -> a -> m ()
ctrlCh :: Char -> Event
metaCh :: Char -> Event
optMod :: MonadInteract m w Event => (Event -> Event) -> Event -> m Event
pString :: MonadInteract m w Event => String -> m [Event]
Documentation
module Yi.Event
module Yi.Interact
printableChar :: MonadInteract m w Event => m CharSource
charOf :: MonadInteract m w Event => (Event -> Event) -> Char -> Char -> m CharSource
shift :: Event -> EventSource
meta :: Event -> EventSource
ctrl :: Event -> EventSource
super :: Event -> EventSource
spec :: Key -> EventSource
Convert a special key into an event
char :: Char -> EventSource
(>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => m b -> a -> m ()Source
(>>=!) :: (MonadInteract m Action Event, YiAction a x, Show x) => m b -> (b -> a) -> m ()Source
(?>>) :: MonadInteract m action Event => Event -> m a -> m aSource
(?>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => Event -> a -> m ()Source
(?*>>) :: MonadInteract m action Event => [Event] -> m a -> m aSource
(?*>>!) :: (MonadInteract m Action Event, YiAction a x, Show x) => [Event] -> a -> m ()Source
ctrlCh :: Char -> EventSource
metaCh :: Char -> EventSource
optMod :: MonadInteract m w Event => (Event -> Event) -> Event -> m EventSource
optMod f ev produces a MonadInteract that consumes ev or f ev
pString :: MonadInteract m w Event => String -> m [Event]Source
Produced by Haddock version 2.6.1