This package takes a simplified approach to pane management, enabling you to move you active editor tab between existing panes, or into new panes, with a simple set of directional commands.
This replaces Atom's default behavior, which in contrast opens new views into the same tab in an existing pane, resulting in the same file being opened multiple times, and requiring you to first create a pain before duplicating the active tab into it.
Simple Panes takes the position that this behavior, while useful, should not be the default, and that when a pane does not exist in a desired direction, a new pane should be created for the active tab to be moved into.
Atoms default behavior can still be accessed from the command pallet, or reassigned through a custom keymap.
apm install simple-panes# then restart Atom
cmd/ctrl + k , arrow-key moves the active editor tab to the nearest pane in the direction of arrow-key. If there are no existing panes in the arrow-key direction, a new pane is created to move the active editor tab to.
Note: you must press cmd/ctrl + k then release all keys before pressing the arrow-key. Holding down all three at once is mapped in atom core to switch focus between panes.
For this workflow to be effective be sure the
Remove Empty Panes setting is checked in your core settings (in config.cson that's
You can change these in Preferences > Keybindings.
|Move Active Tab Right||cmd + k , →||ctrl + k , →|
|Move Active Tab Left||cmd + k , ←||ctrl + k , ←|
|Move Active Tab Up||cmd + k , ↑||ctrl + k , ↑|
|Move Active Tab Down||cmd + k , ↓||ctrl + k , ↓|
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.