- Install the sublime-expand-region plugin in Sublime Text via Package Control.
- Edit
Preferences -> Key Bindings - User
and add the following to it:
{
"keys": [
"alt+up"
],
"command": "expand_region"
},
{
"keys": [
"alt+down"
],
"command": "expand_region",
"args": {
"undo": true
},
"context": [
{
"key": "expand_region_soft_undo"
}
]
}