How to move from the Editor to the tree view folders using shortcut?


#1

I’m the kind of a guy who doesn’t love touching the mouse so much, so plz can anyone tell me How to move from the Editor to the tree view folders using keyboard shortcut and also from the tree view to the editor??


#2

I just have found a way:
Customizing atom keymap

To customize the keyboard shortcuts, proceed like this:

Use menu File → Open Your Keymap.
Paste following snippet at the end of the file.
Note: For Mac users put cmd instead of ctrl.

‘.platform-win32’:
‘ctrl-alt-l’: ‘tree-view:toggle-focus’

Save.
Now you just need to click: ctrl-alt-l
then you will focus on tree view and by clicking again you will focus on the editor. :grin:

thanks.
Elmedi


#3

In Atom 1.16.0 on macOS Tree View: Toggle Focus is already mapped to ^0 by default.


#4

under settings and keybindings it is call tree-view:toggle-focus.
Otherwise you can add this to your keymap.cson file:

‘.platform-win32, .platform-linux’:
‘alt-’: ‘tree-view:toggle-focus’


#5

under settings and keybindings it is call tree-view:toggle-focus.
Otherwise you can add this to your keymap.cson file:

‘.platform-win32, .platform-linux’:
‘alt-\’: ‘tree-view:toggle-focus’
*Edit, forgot about escaping the \