I'd like to be able to switch between my Atom panes anytime without having to press CMD + K first before being able to switch via CMD + Up/Down/Left/Right.
Is this somehow possible? I added this to the keymap but it doesn't work:
'atom-workspace': 'cmd-up': 'window:focus-pane-above' 'cmd-down': 'window:focus-pane-below' 'cmd-left': 'window:focus-pane-on-left' 'cmd-right': 'window:focus-pane-on-right'
You can split any editor pane horizontally or vertically by using Ctrl+K Up/Down/Left/Right where the direction key is the direction to split the pane. Once you have a split pane, you can switch between them with Ctrl+K Ctrl+Up/Down/Left/Right where the direction is the direction the focus should move to.
Using keyboard shortcuts You can close an active split pane with cmd / ctrl + k then cmd / ctrl + w .
An Atom Editor package that allows navigating cursor history across multiple files, similar to jump back and jump forward in Sublime Text. Press alt+- to navigate back or alt+shift+- to navigate forward. History entries are recorded when the cursor moves to a row other than the previous row or its surrounding rows.
This looks old, but incase anyone else stumbles on this - using the .editor
context works for me:
'.editor': 'ctrl-alt-cmd-shift-right': 'window:focus-pane-on-right' 'ctrl-alt-cmd-shift-left': 'window:focus-pane-on-left' 'ctrl-alt-cmd-shift-up': 'window:focus-pane-above' 'ctrl-alt-cmd-shift-down': 'window:focus-pane-below'
Also, I wonder if using cmd-left/right
would also cause an issue - on OSX cmd
+ left/right
is a default OS shortcut for HOME
/ END
(beginning / end of line), that might also cause a conflict.
'body': 'ctrl-right': 'window:focus-pane-on-right' 'ctrl-left': 'window:focus-pane-on-left'
This worked for left/right. I'm still trying to figure up and down tho
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With