All guides

QMK / RMK: remap with Vial

Live remapping in the Vial app or browser, with combos, tap dance and macros. Works with QMK and RMK keyboards.

Last updated 2026-10-15

Vial is an open-source remapping tool that writes changes to the keyboard instantly. Compared with VIA it adds graphical combos, tap dance and key overrides, and the keyboard definition lives in the firmware — nothing extra to load.

Vial works with two firmwares:

  • QMK — the keyboard needs Vial's QMK fork (vial-qmk).
  • RMK — RMK speaks the Vial protocol natively once enabled.

You'll need

  • ✅ Vial desktop (Windows / macOS / Linux), or vial.rocks in Chrome / Edge
  • ✅ A data-capable USB cable
  • ✅ Vial-compatible firmware on the keyboard

Step 1: connect

  1. Plug in the keyboard and open Vial.
  2. The desktop app detects it automatically; on the web, follow the prompt and pick the keyboard in the browser dialog.
  3. When the layout appears at the top, you're connected.

Step 2: change keys

  1. Open the Keymap tab and choose a layer with the numbers above the layout.
  2. Click the position to change.
  3. Pick the new key in the panel below. It saves automatically and works immediately.

Useful panel categories:

CategoryContains
BasicLetters, numbers, symbols, function keys
LayersMO, TG, TO, LT and other layer keys
QuantumTap-hold, modifier combinations and other advanced keys
Tap Dance / MacroReferences to tap dances and macros defined in their tabs
UserMaker-defined keys; RMK's Bluetooth keys (BT0 …) live here

Advanced features

TabUse it for
MacrosRecord a sequence, e.g. type your email in one press
CombosPress two keys together for a third, e.g. J+K = Esc
Tap DanceDifferent actions for tap, double tap and hold
Key Overridese.g. Shift+Backspace = Delete
QMK SettingsTapping term and other parameters (QMK only)
Matrix testerCheck every switch works (requires unlocking)

Unlocking

To protect against malicious software, some actions (matrix tester, bootloader keys) need the keyboard unlocked:

  1. Click Security → Unlock.
  2. Vial highlights a few keys; hold them together on the keyboard until the progress bar fills.

Back up and restore

  • File → Save current layout exports a .vil backup.
  • File → Load saved layout restores it.

Notes for RMK keyboards

  • Vial must be enabled in the firmware (vial_enabled = true under [host] in keyboard.toml).
  • Bluetooth keys are in the User category: BT0, BT1 … switch profiles; hold one for 5 seconds to clear it. See Bluetooth pairing.
  • To discard Vial edits and return to the firmware's default keymap, use a build with clear_layout (clears keys, keeps Bluetooth pairings).

Common problems

  • Linux doesn't see the keyboard: add a udev rule — see the Vial guide.
  • "Not a Vial keyboard": it runs plain QMK or VIA firmware — use VIA or ask the maker for Vial firmware.

More → Troubleshooting