Skip to content

Dotfiles Cheatsheet

Command Action
z <dir> Jump to directory (smart)
z - Jump back to previous dir
cdi Interactive directory selection
.. Go up one directory
... Go up two directories
take <dir> Make directory and cd into it

File Operations

Key / Command Action
Ctrl+T Fuzzy find file (preview with bat)
Alt+C Fuzzy find directory and cd
ya Open Yazi file manager
md <dir> Make directory (smart wrapper)
md <file> Render markdown file (glow)
cat <file> View with syntax highlighting (bat)
ll List files (long)
la List all files (including hidden)
tree Show file tree

Git (Lazygit)

Key Context Action
lg Shell Open Lazygit
Space Files Toggle staged/unstaged
c Global Commit changes
P Global Push changes
p Global Pull changes
r Commits Interactive rebase
n Branches New branch

Git (CLI)

Alias Command Description
g git Base command
gst git status Show status
gd git diff Show diff
gl git pull Pull
gp git push Push
gpf git push --force-with-lease Safe force push
gco git checkout Checkout branch/file
gcb git checkout -b Create new branch
glo git log --oneline Compact log
gsu git-standup Daily summary
gabs git-absorb Auto-fixup commits

Tmux

Key Action
tm [session] Open/attach tmux session (main default)
tml List tmux sessions
tms [session] Switch via fzf or attach/create by name
tmk [session] Kill via fzf or kill by name
Prefix + c New window
Prefix + w Select window (interactive)
Prefix + \| Split vertical
Prefix + - Split horizontal
Prefix + z Zoom pane
Prefix + d Detach session
Prefix + Y Toggle synchronize panes
Prefix + [ Enter copy mode
v then y / Enter Select and copy in copy mode
Mouse drag + release Copy selection in copy mode
Prefix + p Paste latest tmux buffer
Prefix + P Choose buffer to paste
Prefix + I Install plugins (tpm)
Ctrl+h/j/k/l Navigate panes (vim-style)

Note: Default prefix is Ctrl+b. Plugins auto-install during mise run install (non-server mode); Prefix + I remains a manual fallback.

Maintenance

Command Action
dots update Update system & tools
dots doctor Check health
dots sync Sync dotfiles repo
dots edit Edit dotfiles in nvim