License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Killring operations.
- data Killring
- _krKilled :: Killring -> Bool
- _krContents :: Killring -> NonEmpty YiString
- krKilled :: Lens' Killring Bool
- krContents :: Lens' Killring (NonEmpty YiString)
- krEndCmd :: Killring -> Killring
- krPut :: Direction -> YiString -> Killring -> Killring
- krSet :: YiString -> Killring -> Killring
- krGet :: Killring -> YiString
- krEmpty :: Killring
- krLastYank :: Lens' Killring Bool
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