Skip to content

Instantly share code, notes, and snippets.

@deanrather
Last active October 10, 2017 00:47
Show Gist options
  • Save deanrather/2915320 to your computer and use it in GitHub Desktop.
Save deanrather/2915320 to your computer and use it in GitHub Desktop.
Keyboard Shortcuts (Sublime, Gmail, Chrome, Bash)

Sublime Text

ctrl+shift          Search for command
    reindent        Reindent Selection
    sort            Sort Lines
    space           Convert indentation to spaces
ctrl+p              Jump to file ( `:<n>` jump to line)
ctrl+;              Jump to keyword in file
ctrl+k,b            Hide/show Sidebar
alt+shift+<n>       Split window into <n> views
ctrl+shift+<n>      Send file to view <n>
ctrl+<n>            Change focus to view <n>
ctrl+f, alt+enter   Find and multi-select
ctrl+d              Select next instance of word
ctrl+shift+space    Expand Selection
ctrl+f2             Create / Delete Bookmark
f2                  Go to next Bookmark
ctrl+f3             Go to next Instance of Selected

Gmail

j / k               Move to prev/next email
o                   Open email
r                   Reply
e                   Archive
u                   Up to previous list (eg inbox)
shift+n             Show new emails

Chrome

ctrl+shift+t            Re-open last tab
ctrl+r                  Reload Page

Bash

ctrl+c                  Cancel
ctrl+r                  Reverse-search history
ctrl+u                  Clear line
ctrl+l                  Clear terminal
<command> &             Run <command> in the background
jobs                    View background commands
fg <n>                  Bring a background command to the foreground
killall -r <regex>      Kill all processes matching <regex>
~.                      Close a hung SSH Connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment