Skip to content

Instantly share code, notes, and snippets.

@carlisia
Last active April 7, 2016 22:28
Show Gist options
  • Save carlisia/b149cc44161be4e912a1dee8cb3afd73 to your computer and use it in GitHub Desktop.
Save carlisia/b149cc44161be4e912a1dee8cb3afd73 to your computer and use it in GitHub Desktop.

Atom - Git

View history

ctrl-alt-h

Git blame

alt-b

Atom - Go

Goto definition

cmd-g

Find where things are being used

ctrl-f

View symbols (list of functions in a file)

cmd-r

Rename a symbol (everywhere)

alt-r

Find definition (not working)

ctrl-i

Go Import

ctrl-^-i

Run the code

cmd-i

Show docs

alt-d

Atom - others

Toggle mardown

^-ctrl-m

Open file

alt-cmd-o

Advanced new file

^-cmd-n

Close saved tabs

ctrl-p

Show todos

ctrl-^-T

Atom - panes

Move to the right

cmd-k + ->

Move to the left

cmd-k + <-

Move up/down

cmd-k + up/down arrow

Merge

cmd-k m

Pane jump

ctrl-1, ctrl2, ...

Vim - scrolling screen

  • zz - move current line to the middle of the screen

  • zt - move current line to the top of the screen

  • zb - move current line to the bottom of the screen

  • Ctrl-y Moves screen up one line

  • Ctrl-e Moves screen down one line

  • Ctrl-u Moves screen up ½ page

  • Ctrl-d Moves screen down ½ page

  • Ctrl-b Moves screen up one page

  • Ctrl-f Moves screen down one page

Bookmark

mg # This book marks the current position as g (this can be any letter) `g # return to g └── Vim and other navigation

Jump over closing symbols

cmd-'

Open file

cmd-alt-o

Tab switcher

alt-[ alt-] alt-w => close the window alt-s => save the window

Indent back and forth

cmd-[ cmd-]

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