Sublime Text 2 plugin: Clipboard History
Keep a history of your clipboard items. Let you paste them back in, as needed.
Using
OSX
- 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.
Windows & Linux:
- 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.
Limitations
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.
Installing
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.
OSX
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-clipboard-history.git ClipboardHistory
Linux (Ubuntu like distros)
$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/kemayo/sublime-text-2-clipboard-history.git ClipboardHistory
Windows 7:
Copy the directory to: "C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages"
Windows XP:
Copy the directory to: "C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages"