yi-core-0.14.0: Yi editor core library

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • ScopedTypeVariables
  • OverloadedStrings
  • DeriveDataTypeable
  • TypeSynonymInstances
  • FlexibleInstances
  • RankNTypes
  • ExplicitForAll

Yi.History

Description

‘Command history’ implementation.

Synopsis

Documentation

data History #

Instances

dynKeyA :: (Default v, Ord k) => k -> Lens' (Map k v) v #

historyStartGen :: Text -> EditorM () #

Start an input session with History

historyFinishGen :: Text -> EditorM Text -> EditorM () #

Finish the current input session with history.

historyFind :: [Text] -> Int -> Int -> Int -> Text -> Int #

setHistory #

Arguments

:: (MonadEditor m, Functor m) 
=> Text

identifier

-> History

History to set

-> Map Text History

Map of existing histories

-> m () 

Helper that sets the given history at ident and putEditorDyns the result.