我正在使用Sublime 3083
。
假设我在文件中剪切了一些文本(Ctrl-x
),然后尝试将其粘贴到同一文件或另一个文件中的其他位置。
Ctrl-v
,则粘贴的文本没有问题。 Ctrl-c
,则无法再粘贴剪切的文本。它已从剪贴板中删除,我被迫将Ctrl-z
返回到剪切文本之前的位置。 即使在命中
Ctrl-c
时未选择任何文本,也会发生这种情况。我进行了测试,这种行为似乎是
Sublime
所独有的。这是功能吗?如果是这样,可以禁用它吗?
最佳答案
Preferences > Settings - Default
中有一个设置可以更改行为:
// If true, the copy and cut commands will operate on the current line
// when the selection is empty, rather than doing nothing.
"copy_with_empty_selection": false,
将其更改为
false
应该可以使其不会复制空选择。
关于sublimetext3 - Sublime 3 : Ctrl-c triggers even if no text is selected,在剪贴板中放置文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31061764/