yi-keymap-vim-0.19.0: Vim keymap for Yi editor

License | GPL-2
Maintainer | yi-devel@googlegroups.com
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010
Extensions | OverloadedStrings

Yi.Keymap.Vim.StateUtils

Description

# Documentation

switchMode :: VimMode -> VimState -> VimState Source #

switchModeE :: VimMode -> EditorM () Source #

resetCount :: VimState -> VimState Source #

resetCountE :: EditorM () Source #

setCountE :: Int -> EditorM () Source #

modifyStateE :: (VimState -> VimState) -> EditorM () Source #

getMaybeCountE :: EditorM (Maybe Int) Source #

getCountE :: EditorM Int Source #

accumulateEventE :: Event -> EditorM () Source #

accumulateBindingEventE :: Event -> EditorM () Source #

accumulateTextObjectEventE :: EventString -> EditorM () Source #

flushAccumulatorE :: EditorM () Source #

dropAccumulatorE :: EditorM () Source #

dropBindingAccumulatorE :: EditorM () Source #

dropTextObjectAccumulatorE :: EditorM () Source #

setRegisterE :: RegisterName -> RegionStyle -> YiString -> EditorM () Source #

getRegisterE :: RegisterName -> EditorM (Maybe Register) Source #

normalizeCountE :: Maybe Int -> EditorM () Source #

maybeMult :: Num a => Maybe a -> Maybe a -> Maybe a Source #

updateModeIndicatorE :: VimState -> EditorM () Source #

saveInsertEventStringE :: EventString -> EditorM () Source #

resetActiveRegisterE :: EditorM () Source #

saveSubstitutionE :: Substitution -> EditorM () Source #

loadSubstitutionE :: EditorM (Maybe Substitution) Source #