| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | yi-devel@googlegroups.com |
| Safe Haskell | None |
Yi.Keymap.Vim.Common
Description
Common types used by the vim keymap.
Documentation
Constructors
| Normal | |
| NormalOperatorPending OperatorName | |
| Insert Char | char denotes how state got into insert mode ( |
| Replace | |
| ReplaceSingleChar | |
| InsertNormal | after C-o |
| InsertVisual | after C-o and one of v, V, C-v |
| Visual RegionStyle | |
| Ex | |
| Search | |
Fields | |
data VimBinding Source
Constructors
| VimBindingY (EventString -> VimState -> MatchResult (YiM RepeatToken)) | |
| VimBindingE (EventString -> VimState -> MatchResult (EditorM RepeatToken)) |
data GotoCharCommand Source
Constructors
| GotoCharCommand !Char !Direction !RegionStyle |
Instances
| Binary GotoCharCommand |
Constructors
| VimState | |
Fields
| |
data RepeatableAction Source
Constructors
| RepeatableAction | |
Fields
| |
Instances
| Eq RepeatableAction | |
| Show RepeatableAction | |
| Typeable RepeatableAction | |
| Binary RepeatableAction |
data MatchResult a Source
Constructors
| NoMatch | |
| PartialMatch | |
| WholeMatch a |
Instances
| Functor MatchResult | |
| Applicative MatchResult | |
| Alternative MatchResult | |
| Show (MatchResult a) |
newtype EventString Source
Instances
| Eq EventString | |
| Ord EventString | |
| Show EventString | |
| IsString EventString | |
| Monoid EventString | |
| Binary EventString |
newtype OperatorName Source
Instances
| Eq OperatorName | |
| Show OperatorName | |
| IsString OperatorName | |
| Monoid OperatorName | |
| Binary OperatorName |
type RegisterName = CharSource
module Yi.Keymap.Vim.MatchResult
lookupBestMatch :: EventString -> [(EventString, a)] -> MatchResult aSource
matchesString :: EventString -> EventString -> MatchResult ()Source