Skip to content

Keyboard

Ciara edited this page Aug 5, 2023 · 1 revision

Keybindings

SKHD

Applications

Command Keybinding
Open Alacritty cmd - 1
Open VSCode Insiders Edition cmd - 2
Open Firefox Developer Edition cmd - 3
Restart Yabai ctrl + cmd - r

Windows

Command Keybinding
Toggle window border cmd - p
Toggle float for focused window cmd - o
Toggle padding cmd - u
Toggle fullscreen cmd - f
Focus left window cmd - h
Focus bottom window cmd - j
Focus top window cmd - k
Focus right window cmd - l
Resize window to the left shift + cmd - h
Resize window to the bottom shift + cmd - j
Resize window to the top shift + cmd - k
Resize window to the right shift + cmd - l
Reset window layout cmd - 0

Displays

Command Keybinding
Focus next display shift + cmd - m
Focus last display shift + cmd - n
Move focused window to next display shift + alt - m
Move focused window to last display shift + alt - n

Spaces

Command Keybinding
Rotate space cmd - i
Focus next space cmd - n
Focus last space cmd - m
Move focused window to next space alt - m
Move focused window to last space alt - n
Create new space alt - c
Destroy current space alt - q

VSCode

Command Keybinding
Toggle Zen mode alt + z
Toggle minimap alt + x

Tmux

Tmux keybindings require a leader (ctrl + b) before a command. This config changes it to (ctrl + a).

Panes

Command Keybinding
Choose pane alt - arrow
Vertical pane Split <leader> - "
Horizontal pane split <leader> - :
Resize pane left <leader> - {
Resize pane right <leader> - }
Resize pane down <leader> - [
Resize pane up <leader> - ]
Kill pane <leader> - q

Windows

Command Keybinding
Create window <leader> + shift - C
Next window shift - arrow right/up
Previous window shift - arrow left/down
Kill window <leader> + shift - Q

Misc

Command Keybinding
Reload config <leader> - r
Copy mode <leader> - c
Enable statusbar <leader> - T
Disable statusbar <leader> - t
Command prompt <leader> - $
List keybindings <leader> - ?

Aliases

Navigation

  • lx - Better ls using exa
  • lxa - List all files including hidden files
  • n - Quick access to nnn3
  • N - Sudo access to n3
  • c - Quick access to cd
  • .. - Quick access to last directory
  • ... - Quick access to the previous directory before last

Tmux

  1. tmk - Kill all existing settions and create a new session
  2. tma - Attach to an existing session
  3. tm - Create a new sessions
  4. tls - List all existing sessions

Benchmarks

  • df - Run disk analysis using DUF
  • fio - Run FIO benchmarks

Aesthetics

  • catterm - Cute screensaver
  • neof - Quick access to Neofetch
  • pipes - Pipes.sh screensaver

Clone this wiki locally