License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Utils for the Vim keymap.
- mkBindingE :: VimMode -> RepeatToken -> (Event, EditorM (), VimState -> VimState) -> VimBinding
- mkBindingY :: VimMode -> (Event, YiM (), VimState -> VimState) -> VimBinding
- mkStringBindingE :: VimMode -> RepeatToken -> (EventString, EditorM (), VimState -> VimState) -> VimBinding
- mkStringBindingY :: VimMode -> (EventString, YiM (), VimState -> VimState) -> VimBinding
- splitCountedCommand :: EventString -> (Int, EventString)
- selectBinding :: EventString -> VimState -> [VimBinding] -> MatchResult (YiM RepeatToken)
- selectPureBinding :: EventString -> VimState -> [VimBinding] -> MatchResult (EditorM RepeatToken)
- matchFromBool :: Bool -> MatchResult ()
- mkMotionBinding :: RepeatToken -> (VimMode -> Bool) -> VimBinding
- mkChooseRegisterBinding :: (VimState -> Bool) -> VimBinding
- pasteInclusiveB :: YiString -> RegionStyle -> BufferM ()
- addNewLineIfNecessary :: YiString -> YiString
- indentBlockRegionB :: Int -> Region -> BufferM ()
- addVimJumpHereE :: EditorM ()
Documentation
mkBindingE :: VimMode -> RepeatToken -> (Event, EditorM (), VimState -> VimState) -> VimBinding Source
mkBindingY :: VimMode -> (Event, YiM (), VimState -> VimState) -> VimBinding Source
mkStringBindingE :: VimMode -> RepeatToken -> (EventString, EditorM (), VimState -> VimState) -> VimBinding Source
mkStringBindingY :: VimMode -> (EventString, YiM (), VimState -> VimState) -> VimBinding Source
splitCountedCommand :: EventString -> (Int, EventString) Source
selectBinding :: EventString -> VimState -> [VimBinding] -> MatchResult (YiM RepeatToken) Source
selectPureBinding :: EventString -> VimState -> [VimBinding] -> MatchResult (EditorM RepeatToken) Source
All impure bindings will be ignored.
matchFromBool :: Bool -> MatchResult () Source
mkMotionBinding :: RepeatToken -> (VimMode -> Bool) -> VimBinding Source
mkChooseRegisterBinding :: (VimState -> Bool) -> VimBinding Source
pasteInclusiveB :: YiString -> RegionStyle -> BufferM () Source
indentBlockRegionB :: Int -> Region -> BufferM () Source
addVimJumpHereE :: EditorM () Source