Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arehmandev/0ba16a9a58b93c6488014d32676e1708 to your computer and use it in GitHub Desktop.
Save arehmandev/0ba16a9a58b93c6488014d32676e1708 to your computer and use it in GitHub Desktop.
For mac add this to your keymap.cson:
'.platform-darwin':
'cmd-alt-l': 'tree-view:toggle-focus'
Now press cmd-alt-l and watch the magic.
@arehmandev
Copy link
Author

arehmandev commented Apr 18, 2017

Here's my shortcuts:

'.platform-darwin':
  'cmd-alt-l': 'tree-view:toggle-focus'
'atom-text-editor':
  'cmd-right': 'window:focus-pane-on-right'
  'cmd-left': 'window:focus-pane-on-left'
  'cmd-up': 'window:focus-pane-above'
  'cmd-down': 'window:focus-pane-below'
'body':
  'cmd-shift-right': 'pane:show-next-item'
  'cmd-shift-left': 'pane:show-previous-item'

@arehmandev
Copy link
Author

arehmandev commented Apr 18, 2017

'.platform-darwin atom-workspace':
  'cmd-`': 'platformio-ide-terminal:toggle'
  'cmd-shift-`': 'platformio-ide-terminal:close'

@arehmandev
Copy link
Author

other distros replace .platform-darwin for .platform-win32 or .platform-linux

@arehmandev
Copy link
Author

'.platform-linux':
'ctrl-cmd-l': 'tree-view:toggle-focus'
'atom-text-editor':
'cmd-right': 'window:focus-pane-on-right'
'cmd-left': 'window:focus-pane-on-left'
'cmd-up': 'window:focus-pane-above'
'cmd-down': 'window:focus-pane-below'
'body':
'cmd-shift-right': 'pane:show-next-item'
'cmd-shift-left': 'pane:show-previous-item'

'.platform-linux atom-workspace':
'ctrl-': 'platformio-ide-terminal:toggle'
'ctrl-shift-`': 'platformio-ide-terminal:close'

@flunder
Copy link

flunder commented Jan 10, 2018

Great! Thanks!

@MarkL4YG
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment