Skip to content

Instantly share code, notes, and snippets.

@ox
Last active May 10, 2017 18:36
Show Gist options
  • Save ox/394b7a0dc8c5d7aa45cad7429155ceb1 to your computer and use it in GitHub Desktop.
Save ox/394b7a0dc8c5d7aa45cad7429155ceb1 to your computer and use it in GitHub Desktop.
Atom keymap for using a Mac keyboard on Ubuntu (any platform, really)
'atom-workspace atom-text-editor:not([mini])':
'cmd-g': 'find-and-replace:find-next'
'cmd-G': 'find-and-replace:find-previous'
'cmd-s': 'core:save'
'cmd-shift-s': 'core:save-as'
'atom-workspace atom-text-editor':
'cmd-down': 'core:move-to-bottom'
'cmd-up': 'core:move-to-top'
'cmd-shift-down': 'core:select-to-bottom'
'cmd-shift-up': 'core:select-to-top'
'cmd-left': 'editor:move-to-first-character-of-line'
'cmd-right': 'editor:move-to-end-of-screen-line'
'cmd-shift-left': 'editor:select-to-first-character-of-line'
'cmd-shift-right': 'editor:select-to-end-of-line'
'cmd-l': 'editor:select-line'
'cmd-z': 'core:undo'
'cmd-shift-z': 'core:redo'
'cmd-a': 'core:select-all'
'cmd-c': 'core:copy'
'cmd-x': 'core:cut'
'cmd-v': 'core:paste'
'cmd-d': 'find-and-replace:select-next'
'cmd-D': 'find-and-replace:select-skip'
'cmd-P': 'command-palette:toggle'
'cmd-r': 'symbols-view:toggle-file-symbols'
'atom-workspace atom-pane':
'cmd-]': 'pane:show-next-item'
'cmd-[': 'pane:show-previous-item'
'cmd-}': 'pane:show-next-item'
'cmd-{': 'pane:show-previous-item'
'body':
'cmd-f': 'find-and-replace:show'
'cmd-F': 'project-find:show'
'cmd-1': 'pane-layout-focus:column-1'
'cmd-2': 'pane-layout-focus:column-2'
'cmd-3': 'pane-layout-focus:column-3'
'cmd-4': 'pane-layout-focus:column-4'
'cmd-alt-1': 'pane-layout:column-1'
'cmd-alt-2': 'pane-layout:column-2'
'cmd-alt-3': 'pane-layout:column-3'
'cmd-alt-4d': 'pane-layout:column-4'
'cmd-H': 'git-plus:menu'
'cmd-,': 'settings-view:open'
'cmd-w': 'core:close'
'ctrl-w': '!unset'
'cmd-t': 'fuzzy-finder:toggle-file-finder'
'cmd-T': 'pane:reopen-closed-item'
'cmd-n': 'application:new-file'
'cmd-\\': 'tree-view:toggle'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment