Created
June 23, 2016 06:47
-
-
Save Schlechtwetterfront/2d44419ab0cc5e2984fb56621c9da78b to your computer and use it in GitHub Desktop.
Subword Delete Macros for Sublime Text. Similar to alt+delete/ alt+backspace in other software packages.
This file contains hidden or 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
// Delete Backward. | |
// Put this into your user packages folder. Can be found by navigating to Preferences > Browse Packages... in Sublime Text. | |
// Then add something like this to your user Key Bindings. | |
// { "keys": ["alt+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/User/Delete Subword Backward.sublime-macro"} } | |
[ | |
{ | |
"args": | |
{ | |
"by": "subwords", | |
"extend": true, | |
"forward": false | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": null, | |
"command": "left_delete" | |
} | |
] |
This file contains hidden or 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
// Delete Forward. | |
// Put this into your user packages folder. Can be found by navigating to Preferences > Browse Packages... in Sublime Text. | |
// Then add something like this to your user Key Bindings. | |
// { "keys": ["alt+delete"], "command": "run_macro_file", "args": {"file": "res://Packages/User/Delete Subword Forward.sublime-macro"} } | |
[ | |
{ | |
"args": | |
{ | |
"by": "subword_ends", | |
"extend": true, | |
"forward": true | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": null, | |
"command": "left_delete" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment