Sublime Forum

Modifying the "Paste from History" list

#1

Is there a way to add an entry to the “Paste from History” list?

I ask because I’m writing a package that improves the copying, cutting, and pasting of lines of code. I do not want my package to interfere with the “Paste from History” functionality.

Here’s what I’ve tried:

sublime.set_clipboard("clipboard") # This does not affect the "Paste from History" list.
view.run_command('copy') # This also does not affect the "Paste from History" list.

Any suggestions?

0 Likes