Skip to content

Instantly share code, notes, and snippets.

@francirp
Last active August 29, 2015 14:18
Show Gist options
  • Save francirp/76880d91f357ecc1d30b to your computer and use it in GitHub Desktop.
Save francirp/76880d91f357ecc1d30b to your computer and use it in GitHub Desktop.
Column Views in Sublime Text

I enjoy writing code with two side-by-side columns. Unfortunately, there is no out-of-the-box keyboard shortcut to switch from one column to the other. Let's add them.

  1. Go to "Sublime Text => Preferences => Key Bindings - User"
  2. Copy and paste the following into that file:
[
{ "keys": ["command+1"], "command": "focus_group", "args": { "group": 0 } },
{ "keys": ["command+2"], "command": "focus_group", "args": { "group": 1 } }
]

Now you can use Command + 2 to go to the right column and Command + 1 to go to the first column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment