Keyboard shortcuts for the Atom Text Editor mac, windows
File Management
cmd nctrl n New file (tab)
cmd shift nctrl shift n New Window
cmd octrl o Open file or folder via finder
cmd shift octrl shift o Open folder
cmd p or cmd tctrl p Open file within project
cmd bctrl b Browse list of open files
cmd sctrl s Save
cmd shift sctrl shift s Save as
cmd wctrl w Close tab
cmd shift tctrl shift t Reopen closed item
cmd shift wctrl shift w Close window
Navigation
cmd gctrl g Go to line
arrow keysarrow keys basic movement
cmd shift [ and ]ctrl PgUp and PgDnprevious and next tabs
cmd 1, 2, 3, etc.ctrl 1, 2, 3, etc.go to tab number
cmd k arrowctrl k arrowopen pane in direction
cmd k cmd arrowctrl shift arrow (overwritten by move/select)move to pane in direction
cmd k cmd nctrl k ctrl nmove to next pane
ctrl 0 alt \ focus tree view
cmd \ ctrl \toggle tree view
cmd shift \ctrl shift \ reveal active file in tree
Selection
cmd actrl a Select all
cmd lctrl l Select line
ctrl shift wcmd d (once)ctrl d (once)select word
ctrl cmd mctrl alt ,highlight code inside current brackets
variousarrows or npfb combined with shift and either alt (by word) or cmd (to begin/end)
variousarrows combined with shift and either alt or ctrl (by word)
Editing Lines
cmd shift dctrl shift d Duplicate line
ctrl shift k ctrl shift k Delete line
cmd ctrl Up Arrow / Down Arrow ctrl Up Arrow / Down Arrow Move line up/down
cmd /ctrl / Toggle comment line
cmd Enterctrl enter New line below
cmd shift Enterctrl shift enter New line below
cmd [ and ]ctrl [ and ] Indent / outdent selected lines
cmd jctrl j Join lines
ctrl d or deletedeletedelete
ctrl h or backspacebackspacebackspace
variousdelete/backspace and alt (by word) or cmd (to begin/end) can be combined to delete in larger chunks
variousdelete/backspace and alt (by subword) or ctrl (to word) can be combined to delete in larger chunks
cmd enterctrl enternew line below
shift cmd entershift ctrl enternew line above
Search
cmd fctrl fsearch within buffer
cmd shift fctrl shift fsearch within project
cmd gf3find next (inside search window)
cmd dctrl d search for next with multiple cursors
cmd ectrl e (broken?) search under cursor
cmd rctrl rgo to symbol in file
cmd shift rctrl shift rgo to symbol in project
ctrl cmd galt f3multiple cursors for all words same as under cursor
Folding
cmd alt [ and ]ctrl alt [ and ]folding
cmd alt shift [ and ]ctrl alt shift [ and ]folding everything
Git Integration
alt g dalt g ddiff list
alt g then balt g then b Open on Github: blame
alt g then calt g then c Open on Github: copy-url
alt g then galt g then g Open on Github: repository
alt g then halt g then h Open on Github: history
alt g then ialt g then i Open on Github: issues
alt g then oalt g then o Open on Github: file
alt g then ralt g then r Open on Github: branch-compare
cmd shift bctrl shift bshows modified files
alt g down and alt g upalt g down and alt g upskips to next modification(broken?)
Other Interesting Commands
cmd clickctrl clicknew cursor
ctrl mctrl mjump to paired bracket
ctrl shift mctrl shift mpreview document as markdown
cmd alt .ctrl alt .close tag
cmd alt pscopes at cursor (like emacs modes)
alt shift sview available snippets
ctrl spacectrl spaceautocomplete
ctrl shift lctrl shift lgrammar list
cmd shift :ctrl shift :spell check (won't work on some programming language grammars)
cmd alt ictrl alt i Toggle Developer Tools
cmd ,ctrl , Preferences
cmd shift pctrl shift p Toggle command palette
alt shift salt shift s Show available code snippets
ctrl shift mctrl shift m Markdown preview
cmd .ctrl .Key Binding Resolver
ctrl shift cctrl shift cCopy current path
What You Might Miss From Emacs(Readline) andVim
ctrl j enter
ctrl wdelete word
ctrl udelete after cursor
ctrl ypaste (yank)
ctrl tswapping chars is one character off, doesn't allow a correction without extra typing (left first)
alt t swapping words
{ and } in vim or alt-e/alt-a in emacs for moving by paragraph
ctrl [ escape
ctrl o/i for last cursor position
:! for arbritrary shell commands
registers and kill/yank rings
emacs macros
vim macros
. in vim (an easy way to repeat the last command)
sophisticated selection/motion/searching commands in vim
regex search/replace captures in vim