Editor & Terminal Integration
April 19, 2026 · View on GitHub
VS Code
Install from the VS Code Marketplace, or search "rgx" in the Extensions panel.
Commands (open via Ctrl+Shift+P / Cmd+Shift+P):
rgx: Open— launch rgx in the integrated terminalrgx: Open with Selection— pass selected text as test inputrgx: Open with Pattern— pass selected text as the regex pattern
Neovim
Using lazy.nvim:
{ dir = "path/to/rgx/plugin/nvim" }
Or copy plugin/nvim/lua/rgx/init.lua to your Neovim config:
require("rgx").setup()
Commands:
:Rgx— open rgx in a floating terminal:Rgx pattern— open with a pre-filled pattern- Visual select +
:'<,'>Rgx— pass selection as test input
Zed
Copy plugin/zed/tasks.json to your project's .zed/tasks.json (or merge
into an existing one).
Run tasks via Cmd+Shift+P → "task: spawn" → select an rgx task.
tmux
# Open rgx in a tmux popup
tmux display-popup -E -w 80% -h 80% rgx
# Open with a pattern
tmux display-popup -E -w 80% -h 80% -- rgx '\d+'