Keep a history of your clipboard items. Let you paste them back in, as needed.
- Press ⌘⎇⌃V to show the history.
- Press ⌘⎇⌃D to clear the history.
- Press ⌘⇧V to paste the previous (older) history entry.
- Press ⌘⇧⎇V to paste the next (newer) history entry.
- Press ctrl-alt-v to show the history.
- Press ctrl-alt-d to clear the history.
- Press ctrl-shift-v to paste the previous (older) history entry.
- Press ctrl-shift-alt-v to paste the next (newer) history entry.
The history will only contain items that were copied:
- in Sublime Text
- using ctrl-c/⌘C or ctrl-x/⌘X (not the menu items)
Anything that reloads the plugin will clear the saved history.
Pasting from the history may not play nicely with multiple selections.
First, you need to have git
installed and in your $PATH
. Afterwards you may need to restart Sublime Text 2 before the plugin will work.
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-clipboard-history.git ClipboardHistory
$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-clipboard-history.git ClipboardHistory
Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"
Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"