Using the command palette
Open the command palette using cmd + shift + p (OSX) or ctrl + shift + p (Linux / Windows) and type "split". You will see options for dividing up, down, left, and right.
Using keyboard shortcuts
Separate the current tab in the direction with the following shortcuts
- Up cmd / ctrl + k , then ↑
- Down cmd / ctrl + k then ↓
- Left cmd / ctrl + k , then ←
- Right cmd / ctrl + k then →
You can close the active split area with cmd / ctrl + k , then cmd / ctrl + w .
Move between panels
If you want to move between open panels (with a keyboard), you need to change your layout file. Go to Atom -> Open your map and enable this:
'body': 'cmd-alt left': 'window:focus-pane-on-left' 'cmd-alt right': 'window:focus-pane-on-right' 'cmd-alt up': 'window:focus-pane-above' 'cmd-alt down': 'window:focus-pane-below' 'cmd-alt-2': 'pane:split-right' 'cmd-alt-3': 'pane:split-down'
This is my personal setting. I was used for Sublime default cmd + alt + arrow . Change the commands on the left to your personal preference.
Note
You need to press cmd-alt once, release, and then press the arrow button. Otherwise it will not work.
appostolis Jul 12 2018-12-14T00: 00Z
source share