Skip to content

Instantly share code, notes, and snippets.

@markbain
Last active December 7, 2021 22:57
Show Gist options
  • Save markbain/355f8f88f2695dbe8cc179a1506a5189 to your computer and use it in GitHub Desktop.
Save markbain/355f8f88f2695dbe8cc179a1506a5189 to your computer and use it in GitHub Desktop.
Shortcuts and aliases #shortcuts #aliases
  • gaa git add --all (sames as -A)
  • gcam "my commit message" git commit -a -m
  • ggp git push origin $(current_branch)
  • gco {master} git checkout
  • gpoat git push origin --all && git push origin --tags
  • gst git status
  • gb git branch
  • Ctrl+Shift+V Paste clipboard text
  • Ctrl+Tab Move to next terminal within the same tab

Ubuntu

  • Ctrl+Alt+Arrow Keys Switch workspace
  • Ctrl+Super+Arrow Keys Snap windows
  • Ctrl+Alt+T Launch terminal

Sublime

Bookmarks

  • Ctrl+F2 Toggle Bookmarks
  • F2 Next bookmark
  • ⇧ + F2 Previous bookmark
  • Ctrl + ⇧ + F2 Clear bookmarks

View

  • Ctrl + KB Toggle side bar

Chrome Dev Tools

  • Ctrl+Shift+M Toggle device toolbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment