yi-0.12.4: The Haskell-Scriptable Editor

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • TemplateHaskell
  • NondecreasingIndentation

Yi.KillRing

Description

Killring operations.

Synopsis

Documentation

krEndCmd :: Killring -> Killring Source

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

krPut :: Direction -> YiString -> Killring -> Killring Source

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

krSet :: YiString -> Killring -> Killring Source

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

krGet :: Killring -> YiString Source

Get the top of the killring.