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 361
  • Win 160
  • Mac 141
  • Linux 60
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 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 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