Skip to content

johnMocingbird/dotfiles-stow

Repository files navigation

This is setup for stow

Mac Keybindings

  1. Leader Mode
  2. Window Management Mode
  3. Application Launcher Mode
  4. Resize Mode
  5. System Settings Mode
  6. Disabled Mode

Leader Mode

How to Enter: From Default with lalt + space.

Leader → Other Modes or Actions

  • psystem_settings

  • wwindow_management

  • Toggle Disabled Mode

    • cmd + alt + ctrl + shift + ddisabled
    • Then cmd + alt + ctrl + shift + e → back to default
  • h → Focus west

  • j → Focus south

  • k → Focus north

  • l → Focus east

  • 1 → Focus space #1

  • 2 → Focus space #2

  • 3 → Focus space #3

  • 4 → Focus space #4


Window Management Mode

How to Enter: From Leader with w

Focus / Navigation

  • h → Focus west
  • j → Focus south
  • k → Focus north
  • l → Focus east
  • n → Focus next stack window
  • p → Focus previous stack window
  • y → Focus first window
  • o → Focus last window

Space Switching

  • 1 → Focus space #1
  • 2 → Focus space #2
  • 3 → Focus space #3
  • 4 → Focus space #4

Window Actions

  • space → Toggle float
  • g → Toggle zoom-fullscreen
  • f → Toggle zoom-parent
  • s → Toggle split
  • e (shared with resize) → Balance space

Additional

  • x → Run AppleScript (close tab in some apps)

Application Launcher Mode

todo.


Resize Mode

How to Enter: r (from window_management)

  • h → Resize window horizontally (-100)
  • j → Resize window vertically (+100)
  • k → Resize window vertically (-100)
  • l → Resize window horizontally (+100)
  • c (shared w/ window_management) → Big horizontal resize (±700)

Shared Focus with Default/Move

  • lalt + h → Focus west
  • lalt + j → Focus south
  • lalt + k → Focus north
  • lalt + l → Focus east

Balance Space

  • eyabai -m space --balance

System Settings Mode

How to Enter:

  • From Leader with p
  • b → Open Bluetooth manager (via Raycast)
  • w → Scan Wi-Fi networks (via Raycast)
  • o → Set output audio device (Raycast)
  • i → Set input audio device (Raycast)
  • d → Toggle desktop icons (Raycast)
  • h → Toggle hidden files (Raycast)
  • r → Apply monitor-layout--obs--overhead (Raycast)
  • m → Apply monitor-layout-main (Raycast)
  • t → Open Trash (Raycast)
  • p → Connect to AirPods (custom keystroke)

Global Bindings (in Default Mode)

  • Open / Launch various apps (while in Default)

    • shift + lalt + w → Open Safari

    • lalt + w → Open Arc

    • lalt + i → Open Simulator

    • lalt + x → Open Xcode

    • lalt + c → Open ChatGPT

    • lalt + s → Open Slack

    • shift + lalt + s → Open “Mocingbird: Shortcut.app”

    • lalt + return → Open Alacritty

    • lalt + t → Open kitty

    • shift + lalt + t → Open a new kitty instance

    • lalt + n → Open Numbers

    • lalt + p → Open Passwords

    • lalt + y → Launch fzfyabi.sh in kitty (Window switcher)

  • Scratchpad toggles

    • cmd + alt + a → Toggle Music window or open Music
    • cmd + alt + t → Toggle Alacritty window or open Alacritty
    • cmd + alt + h → Toggle Home app or open Home
    • cmd + alt + i → Toggle iPhone Mirroring or open it
    • cmd + alt + w → Toggle Safari or open Safari
  • Space Navigation (Default)

    • lalt + 1 → Focus space #1
    • lalt + 2 → Focus space #2
    • lalt + 3 → Focus space #3
    • lalt + 4 → Focus space #4
    • lalt + [ (0x21) → Focus previous space
    • lalt + ] (0x1E) → Focus next space
    • shift + lalt + p → Move window to previous space & focus
    • shift + lalt + n → Move window to next space & focus
  • Floating Window Movement

    • alt + ctrl + shift + ←/→/↑/↓ → Move floating window
    • alt + shift + zfloat_center.sh
  • Fullscreen / Zoom

    • cmd + ctrl + f → Toggle zoom-fullscreen
    • lalt + z → Toggle zoom-parent
    • shift + lalt + x → Mirror space on X-axis
    • shift + lalt + y → Mirror space on Y-axis
  • Stacking

    • shift + ctrl + h/j/k/l → Stack window west/south/north/east
    • shift + ctrl + n → Focus stack.next
    • shift + ctrl + p → Focus stack.prev
  • Resizing

    • ctrl + lalt + h/j/k/l → Resize active window
    • ctrl + lalt + e → Balance space
    • ctrl + lalt + g → Toggle space padding & gap
    • ctrl + lalt + b → Disable border
    • shift + ctrl + lalt + b → Enable border
  • Insertion

    • shift + ctrl + lalt + h/j/k/l/s → Insert window west/south/north/east/stack
    • lalt + v → Insert window south + cmd - n

TMUX Keybindings

Prefix

  • Ctrl+s

Reload Configuration

  • Prefix + r
    Reload ~/.tmux.conf

  • Prefix + o
    Open sessionx a popup to switch sessions


Popups & Commands

  • Prefix + f
    Open nnn -d in a popup (file explorer)
  • Prefix + n
    Run popuptmux-notes (Obsidian notes)
  • Prefix + z
    Open fzf-sessions in a popup
  • Prefix + G
    Run ,tmux-popup lazygit
  • Prefix + m
    Run popuptmux weechat
  • Prefix + b
    Run popuptmux w3m www.google.com
  • Prefix + t
    Run popuptmux dooit

Pane Navigation (Vi-Style)

  • Prefix + h → Select pane left
  • Prefix + j → Select pane down
  • Prefix + k → Select pane up
  • Prefix + l → Select pane right

Note: setw -g mode-keys vi sets copy-mode to Vi-keys.


Window Switching

  • Prefix + e → Go to window named neovim
  • Prefix + s → Go to window named server
  • Prefix + c → Go to window named rails_console
  • Prefix + g → Go to window named lazy_git
  • Prefix + q → Go to window named side_kiq

Additional

  • Ctrl+\ → Sends Ctrl+\\ to the pane
  • Prefix + b → Toggle status line

linux

MacOS change keyboard shortcuts

todo: Android Studio.app File-Invalidate Caches... AT*Z Build-Generate Signed Bundle / APK... ^ 我D File->Sync Project with Gradle Files ^ 我S

Windows

mklink /D "C:\Users\coakl.config\alacritty" "C:\Users\coakl\AppData\Roaming\alacritty"
mklink /D C:\Users\coakl.config\nvim C:\Users\coakl\AppData\Local\nvim

TODO:

  • setup fix for keyboard (ie autohotkey)
  • setup dotfiles for windows - neovim - alacritty Applications
  • icue
  • autohotkey
  • komorebi

Projects

 git clone git@github.com:MyMOC/mymoc.git $HOME/mymoc
 git clone git@github.com:MyMOC/mobilemoc.git $HOME/development/mobilemoc
 git clone git@github.com:MyMOC/front-end.git $HOME/development/front-end
 git clone git@github.com:MyMOC/utilities.git $HOME/development/utilities_mymoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published