~/cheatsheets (main) $ ls

cheatsheets

Fast, searchable cheat sheets for the command line tools you use every day. No ads. Each cheat sheet puts the shortcuts and commands of one tool on a single searchable page, adapts them to your own setup (your tmux prefix, Vim or Neovim, your kubectl alias, Docker or Podman, Terraform or OpenTofu) and copies any command with a click. They’re made and kept up to date by Lucas Bittencourt, checked against the official documentation.

tmux

82 entries

# Sessions, windows, panes and copy mode, with your own prefix key.

Groups of windows that keep running after you disconnect.
Full-screen tabs inside a session, numbered from 0.
Splits inside a window. Each pane runs its own shell.
Scroll back, search and copy text. Keys below assume vi mode.
Open the tmux cheat sheet →

vim

110 entries

# Modes, motions, operators, search and replace, buffers, windows and macros, for Vim or Neovim.

Get into a mode, and back to Normal with Esc.
Move around. Put a number first to repeat (5j moves down 5 lines).
Change text without leaving Normal mode.
Operator + motion or text object: d (delete), c (change), y (yank).
Open the vim cheat sheet →

kubectl

97 entries

# Contexts, pods, logs, rollouts, RBAC and more, with the k alias.

Shell completion and the k alias. Add these lines to ~/.bashrc to keep them.
Clusters, contexts and the active namespace.
List and inspect resources.
Logs, shells, port forwards and debugging.
Open the kubectl cheat sheet →

docker

80 entries

# Images, containers, Compose, networks, volumes and cleanup, for Docker or Podman.

Build, pull, tag and push images.
Start containers with the options you need most.
List, stop, remove and inspect containers.
Look inside running containers.
Open the docker cheat sheet →

terraform

54 entries

# Plan, apply, state, workspaces, imports and debugging, for Terraform or OpenTofu.

Init, plan, apply, destroy.
Variables, targets and replacements.
Backends, provider versions and modules.
What Terraform thinks exists.
Open the terraform cheat sheet →