Created
June 3, 2013 21:26
-
-
Save theRemix/5701566 to your computer and use it in GitHub Desktop.
Disabling cut and copying an entire line in Sublime Text 2 when no text is selected.
It's so irritating when i accidentally Cmd+x and it deletes the whole line or Cmd+c then i lose my previous buffer. put this in Preferences -> Settings - User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+c"], "command": "noop" }, | |
{ "keys": ["super+c"], "command": "copy", "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } | |
] | |
}, | |
{ "keys": ["super+x"], "command": "noop" }, | |
{ "keys": ["super+x"], "command": "cut", "context": | |
[ | |
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true } | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment