Sublime Forum

Shift+delete erases copy/paste memory

#1

For some time (months) I’ve been bugged about this issue where a cut/paste command followed by a certain key press (shift+delete) erases the memory of the cut. Meaning that when I attempt to paste, nothing is being pasted. This is all on Windows 7, Sublime Text 2.

Is this supposed to happen, and if so can I disable it somehow?

Regards,
Fredrik

0 Likes

#2

Add this to your keymap file:

{ "keys": "shift+delete"], "command": "noop" }

Btw, i suggest you to give a try to a clipboard manager like ArsClip: joejoesoft.com/vcms/97/

0 Likes

#3

That is excellent, thank you!

0 Likes

#4

I wanted this to just delete the line without copying it so I changed it to the same functionality as Ctrl+shift+k. Which is:
{ “keys”: [“shift+delete”], “command”: “run_macro_file”, “args”: {“file”: “res://Packages/Default/Delete Line.sublime-macro”} },

1 Like