Skip to content

Latest commit

 

History

History
81 lines (69 loc) · 2.04 KB

README.md

File metadata and controls

81 lines (69 loc) · 2.04 KB

My shortcuts

I use skhd and yabai to manage my windows and shortcuts.

Attribution of apps

I attribute my apps to my spaces like this:

  • 1 : Free, for temporary windows
  • 2 : Free, for temporary windows
  • 3 : Terminal, or free when I don't code
  • 4 : IDE, or free when I don't code
  • 5 : Browser
  • 6 : Notes
  • 7 : Pro communication (Mail, Slack, etc...
  • 8 : Calendar/Reminder
  • 9 : Music or Communication (Messenger, etc...)

Cheatsheet

Here my cheatsheet for my shortcuts.

Modifiers are:

  • rshift : For focus
  • ralt : For move
  • rcmd : For swap
  • rshift + ralt : For resize

Selectors are:

  • h : Left
  • j : Down
  • k : Up
  • l : Right
  • m : Recent window (balance for resize modifier)
  • 1-9 : Spaces
  • 0 : Recent space
  • u : Rotate windows (ralt for clockwise, ralt + rshift for counter clockwise)
  • i : Mirror windows (ralt for horizontal, ralt + rshift for vertical)
  • o : Zoom (ralt for toggle zoom-parent, ralt + rshift for toggle zoom-fullscreen)
  • p : Toggle float (ralt for little float, rshiftfor middle float, ralt + rshift for big float)
  • b : Toggle pip (ralt for toggle pip)

So, for example, rshift + h will focus the window on the left, rshift + m will focus the most recent window, rshift + 1 will focus the first space, etc.

Apps shortcuts

  • rshift + a : Visual Studio Code
  • rshift + z : Hyper
  • rshift + e : Safari
  • rshift + r : Finder
  • rshift + q : Calendar
  • rshift + s : Reminders
  • rshift + d : Messages
  • rshift + f : Messenger
  • rshift + w : Mail
  • rshift + x : Notes
  • rshift + c : Music

Special shortcuts

  • ralt + y : On/Off yabai

Git emoji

I use the following prefixes for my commit messages:

PREFIX_BASE="📦 base"
PREFIX_FEAT="✨ feat"
PREFIX_DESIGN="🎨 design"
PREFIX_FIX="🐛 fix"
PREFIX_TEST="🧪 test"
PREFIX_BUILD="🏗️ build"
PREFIX_STRUCT="🧱 struct"
PREFIX_DOC="📚 doc"
PREFIX_INTERNAL="🔧 internal"
PREFIX_PERF="⚡️ perf"
PREFIX_REFACTOR="🚜 refractor"
PREFIX_TYPO="✏️ typo"
PREFIX_WIP="🚧 wip"