paste-cycle

Paste from clipboard history like emacs' kill-ring

worldmaker18349276

18

0

1.1.0

MIT

GitHub

paste-cycle

Fork of clip-history.

Paste from clipboard history like emacs' kill-ring

How to use

  1. Paste clipboard entry by paste-cycle:paste
  2. Continue paste-cycle:paste until you get entry you want.
  3. when you get passed the text you wanted to paste, use paste-cycle:paste-newer.
  4. you can paste last pasted text with paste-cycle:paste-last.

Commands

Keymap

No keymap by default.

e.g.

'atom-text-editor:not([mini])':
  'ctrl-y': 'paste-cycle:paste'
  'cmd-y': 'paste-cycle:paste-newer'
  'ctrl-Y': 'paste-cycle:paste-last'

Modify flash duration

From v0.3.0, flashDurationMilliSeconds config was removed to use better flashing animation by CSS keyframe. Default duration is one second, if you want this shorter, modify your style.less.

atom-text-editor.editor .paste-cycle-pasted .region {
  // default is 1s, you can tweak in the range from 0 to 1s(maximum).
  animation-duration: 0.5s;
}

Features