Reputation: 4460
Is there in atom.io a shortcut to get the focus back on the editor (maybe even on a particular pane) when the tree has the focus?
I've checked on the documentation but I couldn't find anything.
Upvotes: 9
Views: 1525
Reputation: 592
On fedora 29 Workstation(Gnome desktop), Linux.
Use the keybinding (keyboard shortcuts) , ALT+\
, for toggle between "Tree View" and Editor area.
Upvotes: 4
Reputation: 1632
I prefer a Ctrl+[number] combination for switching between panels, tree view and editor.
You can add the following lines to your keymap.cson file [1] to change the default Atom keybindings.
'.tree-view':
'ctrl-1': 'tree-view:unfocus'
'.platform-win32':
'ctrl-3': 'tree-view:toggle-focus'
This would result in:
Ctrl + 3 to focus on the tree-view Ctrl + 1 to go back to editor
[1]: To access the keymap file, type ctrl + ,
to access Atom settings and go to Keybindings >> "Your keymap file"
Ps. remember to maintain the indentation
Upvotes: 0