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 364
  • Win 160
  • Mac 142
  • Linux 62
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 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
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 1 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