Keybindings

Master Keybindings Guide

This document provides a comprehensive overview of the keyboard-driven workflows designed for this system. Our philosophy prioritizes speed, consistency across environments (Hyprland, Niri, Tmux), and minimal hand movement.


πŸͺŸ Window Management (Hyprland & Niri)

The Super (Windows/Command) key is your primary modifier (Mod).

Both Hyprland and Niri share a highly unified set of core navigation and window management bindings.

ActionKeybinding
Launch Terminal (Foot)Mod + Return
Launch Clone Terminal (Same CWD)Mod + Alt + Return
App Launcher (Rofi)Mod + Space
Interactive Cheat SheetMod + Shift + ?
Translate Selection/TextMod + Alt + T
Close WindowMod + Q
Toggle FloatingMod + Shift + T (Niri) / Mod + F (Hyprland)
FullscreenMod + Shift + F
Move Focus (Vim-style)Mod + H/J/K/L or Arrow Keys
Move Window (Vim-style)Mod + Shift + H/J/K/L or Shift + Arrow Keys
Move Focus to MonitorMod + Ctrl + H/J/K/L or Ctrl + Arrow Keys
Move Window to MonitorMod + Shift + Ctrl + H/J/K/L or Shift+Ctrl+Arrow Keys

πŸš€ Workspaces

ActionKeybinding
Switch WorkspaceMod + 1-9
Move Window to WorkspaceMod + Shift + 1-9
Scroll WorkspacesMod + Mouse Wheel
Overview / Toggle Workspace ViewMod + Tab
Swap with Master (Hyprland)Mod + Shift + Tab
Add / Remove Master (Hyprland)Mod + Ctrl (+ Shift) + Tab

🧠 Scratchpads & Overlays (Hyprland)

ActionKeybinding
Terminal Scratchpad`Mod + β€œ (Grave)
Pad ScratchpadMod + S
Send to Pad (Silent)Mod + Alt + S

πŸ“Έ Media & Capture (Screencast, Screenshot, Draw)

We have removed legacy Print Screen bindings. All capture tools use universally recognized combinations that work identically in both Niri and Hyprland.

ActionKeybindingTool Used
Screen Draw (Annotate)Mod + Dgromit-mpx
Screenshot (Region)Mod + Shift + Sgrim + slurp
Screenshot + AnnotateMod + Shift + Agrim + swappy
Screencast (Toggle)Mod + Alt + Rwf-recorder
Scan QR Code on ScreenMod + Alt + Qzbarimg
  • Screendraw: A toggle. Once active, use your mouse to draw on the screen. Left-click for red, Shift+Left for blue, Ctrl+Left for yellow, Right-click to erase.
  • Screencast: A toggle. Recordings are saved to ~/videos/screencasts/ with a timestamp and automatically copied to your clipboard as a URI.
  • Screenshots: Saved to ~/pictures/screenshots/hey/ and copied to the clipboard as an image.

πŸ” Hyprland Advanced Capture Submap

For more granular control in Hyprland, press Mod + X to enter the Capture Submap. Your prompt will change. While in the submap, press:

  • S (Region), W (Window), M (Monitor) to Screenshot.
  • Shift + S/W/M to Screenshot + Annotate (Swappy).
  • Alt + S/W/M to Record Screencast.
  • Q to Scan QR Code. (Press Escape to exit the submap).

πŸ“Ÿ Tmux & Terminal Multiplexing

The Tmux Prefix is Ctrl + C (Press twice to send a literal Ctrl+C).

Tmux is configured to act like a native tiling window manager. We use β€œAlt” (Option on Mac keyboards) as a direct bridge, meaning you do not need to press the Prefix for common navigation!

⚑ No-Prefix Navigation (Instant)

ActionKeybinding
Move Pane Focus (Vim-style)Alt + H/J/K/L
Switch to Window 1-9Alt + 1-9

πŸ› οΈ Prefix Commands (Requires Ctrl + C first)

ActionKeybinding
Vertical Split (Same Path)v or %
Horizontal Split (Same Path)s or "
New Window (Same Path)c
Toggle Zoom (Fullscreen Pane)o
Kill Pane / Windowx / X

𐄂 Interactive FZF Popups (Requires Ctrl + C first)

These commands render beautiful, rounded floating windows in the center of your terminal.

ActionKeybindingTool Used
Workmux (Branch/Worktree)wworkmux
Session SwitcherS or /sessionmenu.janet
File Picker (Paste Path)ffilepicker.janet

🐚 Zsh & FZF Shell Navigation

Optimized for high-speed terminal interaction.

ActionKeybindingDescription
Fuzzy File SearchAlt + FSearches files and pastes the path at your cursor.
Fuzzy Directory JumpAlt + CInstantly cd into any subdirectory.
Fuzzy History SearchCtrl + R or Alt + HSearch past commands with fzf.
Toggle Background JobCtrl + ZInstantly suspend a process (like nvim) or bring it back.
History Substring SearchUp / Down ArrowsType git, press Up, see only past git commands.

πŸ“ Zsh Vim-Style Editing (Insert Mode)

ActionKeybinding
Beginning/End of LineCtrl + A / Ctrl + E
Forward/Backward WordCtrl + F / Ctrl + B
Kill Line (Forward/Backward)Ctrl + K / Ctrl + U
Kill Word (Backward)Ctrl + W

βš™οΈ System Controls (Hardware/Media)

These bindings work globally across all environments and even when the screen is locked.

ActionKeybindingTool Used
Volume Up / DownVolume Keyspamixer + OSD
Mute AudioMute Keypamixer + OSD
Brightness Up / DownBrightness Keysbrightnessctl + OSD
Toggle NotificationsMod + Escapedms or makoctl
Screen Zoom (Accessibility)Mod + Z (Hyprland)Hyprland internal

πŸ€– AI & Utilities (Ollama Backend)

These tools leverage your local AI models for a smarter workflow.

ActionKeybinding / CommandDescription
Translate SelectionMod + Alt + TInteractive translation menu.
AI Commit Genhey .commit-genGenerates a commit message from your staged diff.
Funny AI Commithey .commit-gen --funnySarcastic commit message generator.
AI Fortunehey .fortuneA witty developer fortune with ASCII art.
System Roasthey .roastAI brutally roasts your system stats.