yi-keymap-emacs-0.19.0: Emacs keymap for Yi editor

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

Extensions

- RankNTypes
- ExplicitForAll

Yi.Keymap.Emacs.KillRing

Contents

- Killring actions

Description

Synopsis

- uses :: forall a b f s. MonadState s f => Getting a s a -> (a -> b) -> f b
- clipboardToKillring :: YiM ()
- killringToClipboard :: YiM ()
- killRegionB :: BufferM ()
- killRegion :: YiM ()
- killLineB :: Maybe Int -> BufferM ()
- killLine :: Maybe Int -> YiM ()
- killringGet :: EditorM YiString
- killringPut :: Direction -> YiString -> EditorM ()
- yankE :: EditorM ()
- yank :: YiM ()
- killRingSaveE :: EditorM ()
- killRingSave :: YiM ()
- yankPopE :: EditorM ()
- appendNextKillE :: EditorM ()

# Documentation

uses :: forall a b f s. MonadState s f => Getting a s a -> (a -> b) -> f b Source #

# Killring actions

clipboardToKillring :: YiM () Source #

Adds system clipboard's contents on top of the killring if not already there

killringToClipboard :: YiM () Source #

Adds the top of the killring to the system clipboard

killRegionB :: BufferM () Source #

killRegion :: YiM () Source #

C-w Like `killRegionB`, but with system clipboard synchronization

killLineB :: Maybe Int -> BufferM () Source #

Kills current line

killLine :: Maybe Int -> YiM () Source #

C-k | Like `killLineB`, but with system clipboard synchronization

killringGet :: EditorM YiString Source #

killringPut :: Direction -> YiString -> EditorM () Source #

yankE :: EditorM () Source #

Yanks top of killbuffer

yank :: YiM () Source #

C-y Like `yankE`, but with system clipboard synchronization

killRingSaveE :: EditorM () Source #

Saves current selection to killring and then clears it

killRingSave :: YiM () Source #

M-w Like `killRingSaveE`, but with system clipboard synchronization

yankPopE :: EditorM () Source #

M-y TODO: Handle argument, verify last command was a yank

appendNextKillE :: EditorM () Source #

C-M-w