ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vintage Yank​Stack

by Quang-Linh LE ST3

A yankstack (or Emacs Kill Ring equivalent) for ST3's Vintage

Labels vim, kill ring

Details

Installs

  • Total 368
  • Win 161
  • Mac 145
  • Linux 62
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Vintage YankStack

A yankstack (or Emacs Kill Ring equivalent) for ST3's Vintage

What is it?

One of the killer features from Emacs is Kill Ring, which allow to paste the previous of previous killed (or yanked, deleted in Vim style) in place previous paste region. That means, no clipboard selection, no :ls and no undo.

Sublime Text introduces a kill ring compatible with Emacs but it doesn't do what it should do, especially with Vintage, so I wrote it my self. The idea (and name) from the excellent YankStack plugin for Vim which is lightweight and elegant.

Install

Via package control (Recommended)

CTRL+SHIFT+P, Install Packagee, then YankStack to install.

Manual

Clone this repo to your Packages directory, modify the keymap if needed.

Usage

Default keymaps are: - CTRL+P: Paste from higher register in stack - CTRL+N: Paste from lower register in stack

No worrier about key conflict, the above keymaps work only if the last action was a paste, or yankstack it self, see keymap file for details.

So a normal work routine is like this:

  1. Copy (y), delete(d), change(c) in serveral place.
  2. Move to the place you need to paste some of those.
  3. Paste (p, P), if it not what you want, just hit CTRL+P to cycle the registers back to what you need, if you miss it, hit CTRL+N to cycle them forward.

License

MIT