Skip to content

Instantly share code, notes, and snippets.

@MartinSeeler
Last active July 3, 2023 21:36
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinSeeler/17c8dd971795af018988 to your computer and use it in GitHub Desktop.
Save MartinSeeler/17c8dd971795af018988 to your computer and use it in GitHub Desktop.
IntelliJ's "Expand Selection" in Sublime Text

IntelliJ's "Expand Selection" feature in Sublime Text

  1. Install the sublime-expand-region plugin in Sublime Text via Package Control.
  2. 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"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment