Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.69 KB

shortcuts.md

File metadata and controls

66 lines (44 loc) · 1.69 KB

Shortcuts cheat sheet

macOS

  • control + command + Q locks the computer

  • command + space opens Raycast

  • shift + control + P opens Chrome Personal

    (via Raycast script, needs to be configured)

  • shift + control + W opens Chrome Work

    (via Raycast script, needs to be configured)

Moving windows

TODO See Rectangle settings

Text input

Moving around

  • control + B moves to previous character
  • control + F moves to next character
  • control + option + B moves to previous word
  • control + option + F moves to next word
  • control + A moves to beginning of line
  • control + E moves to end of line
  • control + N moves to next line
  • control + P moves to previous line

Deleting

  • control + K deletes to the end of line
  • control + U deletes to the beginning of the line
  • option + D deletes next word
  • option + W deletes previous word

See more at https://jblevins.org/log/kbd

Apps

Bash

  • control + R replaces the command line with the selected command from history
  • control + T pastes the selected file path (provided by fzf)
  • option + C changes to the selected sub-directory (provided by fzf)

iTerm

  • option + B moves cursor to next word
  • option + F moves cursor to previous word

Slack

  • shift + command + A jumps to "All Unreads"
  • shift + command + S shows "Starred Items"
  • command + . toggles the right sidebar
  • command + ? shows the available shortcuts
  • In "All Unreads", R marks the messages in a channel as read
  • edits the last written message

VS Code

  • control + - jumps to previous location (i.e. file, line and column)
  • shift + control + - jumps to next location