Sublime Forum

How to disable empty copy

#1

When your current selection is empty, and you press ctrl+c, I’d like that it does nothing.
Instead of filling clipboard with a useless empty string, and losing a possible previous clipboard

0 Likes

#2

I’m not at a computer at the moment, but if you open the settings and read the left hand side, the setting that controls this is clearly labeled. Just copy the value from the left to the right and change the true to false, then save the file.

0 Likes

#3

copy_with_empty_selection thanks!

1 Like

#4

Hey guys, sorry, but I’m new to this. How do I fix this issue again, please?

0 Likes

#5

google: how to set sublime text option
and see preferences > settings

0 Likes

#6

So I go to Prefs>Settings User> and then add “copy_with_empty_selection”: true, within the { & }.

0 Likes