yi-0.8.1: The Haskell-Scriptable Editor

Safe HaskellNone
LanguageHaskell2010

Yi.KillRing

Synopsis

Documentation

krEndCmd :: Killring -> Killring Source

Finish an atomic command, for the purpose of killring accumulation.

krPut :: Direction -> String -> Killring -> Killring Source

Put some text in the killring. It's accumulated if the last command was a kill too

krSet :: String -> Killring -> Killring Source

Set the top of the killring. Never accumulate the previous content.

krGet :: Killring -> String Source

Get the top of the killring.