Skip to content
RustStats PRO
Keybind Generator

Binds you can paste

Rust accepts an unknown key name without complaining and then quietly ignores the bind. Every key and every command offered here is taken from Facepunch's own keybinds page, so what you paste is what you get.

Build

Your binds

Pick a key, stack as many commands on it as you like, and mark it held if it should only be active while the key is down.

    • Walk forward.

    bind q forward
Shortcuts

Ready-made binds

Click one to drop it into the list, then change the key to whatever suits your hand.

Output

Paste this into the console

One line per bind, with writecfg at the end so the game keeps them.

bind q forward writecfg
  1. 1. Open the console with F1.
  2. 2. Paste the block. Every line runs immediately, so the binds are live before you close the console.
  3. 3. writecfg saves them to cfg/keys.cfg, which is what makes them survive a restart.
Reference

How a bind is put together

Straight from the Facepunch keybinds page — the rules the generator above follows.

  • bind <key> <command>

    One key, one command.

  • bind <key> a;b

    A semicolon runs several commands in order, on one key press.

  • bind <key> +a;+b

    A plus prefix makes a command active only while the key is down, and stop when it is released.

  • bind [leftshift+k] kill

    Square brackets require a modifier to be held as well — worth it for anything you cannot take back.

  • bind <key> clear

    Removes the bind and gives the key back to its default.

  • writecfg

    Writes the current binds to cfg/keys.cfg. Without it, nothing survives a restart.

If a bind does nothing

It is almost always the key name rather than the command. Rust matches its own dictionary — leftshift, mouse0, backquote — and anything outside it is accepted and then ignored. Type find bind in the console to see what the running build actually registers, and check the command the same way before blaming the bind.