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 363
  • Win 160
  • Mac 142
  • Linux 61
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30
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 1 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