Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keyboard shortcuts

Janos Gyerik
February 09, 2017

Keyboard shortcuts

Accelerate your productive and unproductive activities

Janos Gyerik

February 09, 2017
Tweet

More Decks by Janos Gyerik

Other Decks in Technology

Transcript

  1. Keyboard shortcuts
    Accelerate your productive and
    unproductive activities

    View full-size slide

  2. What’s wrong with the mouse?

    View full-size slide

  3. Hand on
    mouse?
    See the
    pointer?
    See the
    target?
    Move hand on
    mouse
    Move the mouse
    until eyes catch
    the movement
    Scan the screen
    for clues...
    Move sharply
    toward target
    Slow down near
    target
    Click Victory
    Press shortcut
    Remember
    shortcut?

    View full-size slide

  4. Especially bad when
    - The target to click is far away
    - The target to click is very small
    - The UI of app X has changed
    - It’s not your mouse or PC

    View full-size slide

  5. What’s wrong with the mouse?
    - Slow
    - Find pointer, find target, move pointer, click
    - Complex
    - Requires high-precision operations and focus
    - Not the keyboard
    - Hands are on the keyboard most of the time

    View full-size slide

  6. Gmail
    - Arrows
    - j k -> previous, next conversation
    - p n -> previous, next message in a conversation
    - g i -> go to inbox
    - g s -> go to starred messages
    - * u -> select unread messages
    - Shift i -> mark selected messages read

    View full-size slide

  7. Websites -> ?
    - Gmail
    - GitHub
    - Stack Exchange (edit profile -> preferences)
    - sonarqube.com

    View full-size slide

  8. Browser tabs -> Alt num
    - Alt 1: switch to tab 1
    - Alt 2: switch to tab 2
    - ...
    - Alt 9: switch to last tab (regardless of its number)
    (Chrome, Firefox, sadly not Safari)
    (On OSX, it’s Apple num instead of Alt)

    View full-size slide

  9. Shell
    - Control r: find and run command in history
    - Control c: cancel the current line, start fresh
    - Control w: delete word backward
    - Control y: “yank” (paste “clipboard”)

    View full-size slide

  10. How to remember them
    - Associate with action verbs and object nouns
    - Similar patterns everywhere
    - Force yourself to use them
    - Create a cheatsheets repo on GitHub
    (example: https://github.com/janosgyerik/cheatsheets)

    View full-size slide