RangeLink v1.0.0: Perfected AI Workflows + The R-Keybinding Family
Source: Dev.to
TL;DR ā One keybinding truly rules them all, and the workflow is now seamless.
šÆ Perfected Paste Destinations (Major UX Improvement)
| AI Destination | Old workflow (v0.3.0) | New workflow (v1.0.0) |
|---|---|---|
| Claude Code Extension | Select code ā Cmd+R Cmd+L ā RangeLink copies the link ā manual Cmd+V paste ā continue typing | Select code ā Cmd+R Cmd+L ā link appears automatically in chat ā continue typing |
| Cursor AI | Same manual paste step | Same automatic paste step |
| GitHub Copilot Chat | Not supported | Fully automatic, identical to the two above |
| Terminal / Text Editor | Already automatic | Still automatic |
The manual Cmd+V step that broke the flow is gone for all AI chat destinations.
š¤ GitHub Copilot Chat Integration (3rd AI Chat Option)
- Paste destination for GitHub Copilot Chat is now supported.
- You can pick Claude, Cursor AI, or Copilot ā whichever fits your workflow.
Bind via the Command Palette ā āBind RangeLink to GitHub Copilot Chat Destinationā.
āØļø Complete RāKeybinding Family (New Commands)
| Keybinding | Emoji | Name | What it does |
|---|---|---|---|
| RāL | š | Rocket League | Generate a RangeLink for the current selection. |
| RāC | š» | Radio Control | Copy a RangeLink to the clipboard only (no destination paste). |
| RāV | š | Recreational Vehicle | Paste the selected text itself directly to the bound destination. |
| RāJ | šÆ | Roger Junior | Jump to (focus) your currently bound destination. |
All commands start with Cmd+R (for RangeLink), giving you a memorable, consistent pattern.
š Smart Bind with Confirmation (QoL)
- Switching destinations no longer requires an explicit unbind.
- Running any āBind to ā¦ā command while already bound opens a QuickPick dialog:
Currently bound to: Terminal
Switch to: Claude Code Chat?
[Yes] [No]
The dialog confirms the change before replacing the existing binding.
š ļø How It Works (Technical Bit)
- PR #136 introduced a fix for the Terminal destination.
executeCommand()can programmatically trigger actions in other VSāÆCode extensions.- For Claude Code & Cursor AI (which lack a direct textāinsertion API), RangeLink now:
- Sets focus to the chat panel (already done).
- Copies the link to the clipboard.
- Waits 50ā150āÆms to ensure the panel is ready.
- Executes the paste command programmatically.
Result: a clipboardābased workaround that is indistinguishable from a true API insertion from the userās perspective.
š Usage Scenarios
1ļøā£ ClipboardāOnly Links (RāC)
When you need a link but donāt want it autoāpasted.
| Situation | Command | Result |
|---|---|---|
| Share a link across projects/IDE instances | Cmd+R Cmd+C | Formatted RangeLink (e.g., src/auth.ts#L42C10-L58C25) copied to clipboard. |
| Share an absolute path for crossāproject use | Cmd+R Cmd+Shift+C | Absoluteāpath RangeLink copied. |
| Paste into Slack, docs, etc. | ā | No need to unbind your destination first. |
2ļøā£ Paste Selected Text Directly (RāV)
When you want to send the code itself, not a link.
Cmd+R Cmd+Vā selected text is sent to the bound destination (Claude, Cursor, Copilot, Terminal, Text Editor).- Multiāselection is concatenated with newlines.
- Perfect for quickly feeding snippets to AI assistants that donāt natively support codeāpaste.
3ļøā£ Jump to Bound Destination (RāJ)
When your bound terminal or editor is hidden behind other tabs/panes.
Cmd+R Cmd+Jinstantly focuses the destination, saving you from hunting through tabs.
š Full Keybinding Reference
| Keybinding | Not About⦠| Actually Does |
|---|---|---|
| RāL | Rocket League š® | Generate a RangeLink at the current selection. |
| RāC | Radio Control š» | Copy a RangeLink to the clipboard only (skip destination). |
| RāV | Recreational Vehicle š | Paste the selected text directly to the bound destination. |
| RāJ | Roger Junior | Jump to your currently bound destination. |
š Closing Thoughts
- One keybinding to rule them all is finally a reality.
- All three AI chat destinations now provide identical, fully automatic paste UX.
- The new Rāfamily commands give you granular control over link generation, code paste, and destination navigation.
RangeLink v1.0.0 is mature, reliable, and ready for daily use. Happy linking! š
WhyāÆRangeLink?
Builtāin AI features are convenient, but they lock you into one AI model, one workflow, and usually only lineālevel precision.
RangeLink gives you:
- Characterālevel precision ā Highlight exactly the function signature, the problematic condition, that one sneaky semicolon.
- Any AI assistant ā Claude, GPT, Gemini, Copilot, whatever you prefer.
- Oneākeybinding memory ā
Cmd+RāÆCmd+Lworks the same everywhere. - Features your AI doesnāt have ā
Cmd+RāÆCmd+Vsends selected text directly to any AI chat. - Flexible workflows ā Terminal for quick questions, scratchpad for complex prompts, direct AIāchat integrations.
- Universal format ā GitHubāstyle links that work everywhere (PRs, Slack, docs, teammates without RangeLink).
With v1.0.0, the workflow is just as seamless as integrated tools ā arguably better, because youāre not limited to one AI vendor or workflow pattern.
Install RangeLink
| Platform | Link |
|---|---|
| VSāÆCode | [VSāÆCode Marketplace] |
| Cursor | [OpenāÆVSX Registry] |
Quick Start
- Bind a destination
CommandāÆPalette ā āBind RangeLink to [your preferred destination]ā - Select code
- Use the Rākeybindings
| Shortcut | Action |
|---|---|
Cmd+RāÆCmd+L | Generate RangeLink (autoāpastes to destination) |
Cmd+RāÆCmd+C | Clipboardāonly copy (no destination paste) |
Cmd+RāÆCmd+V | Paste selected text directly |
Cmd+RāÆCmd+J | Jump to bound destination |
Cmd+Click on any RangeLink (terminal or editor) | Navigate to the link |
The textāeditorāÆāāÆsplitāscreen scratchpad destination remains a favorite for complex AI prompts.
Feedback & Community
RangeLinkāÆv1.0.0 is featureācomplete and stable. The core vision is realized: characterālevel precision, seamless AI workflows, flexible paste destinations.
Iād love to hear from you
- Which destinations do you use most? (Terminal? Scratchpad? AI chat?)
- How are the Rākeybindings fitting into your workflow?
- Any rough edges or unexpected behaviors?
Your feedback shapes priorities. If youāre interested in contributingācode, docs, ideasācheck out the repository.
Contribute
- ā Star the repo on GitHub
- š Report issues or share ideas via GitHub Issues
- š¤ Submit PRs ā the codebase is TypeScript with comprehensive test coverage
- š¬ Share your workflows ā drop a comment below or open a discussion
Links
- GitHub Repository ā
- VSāÆCode Marketplace ā
- OpenāÆVSX Registry ā
- CHANGELOG ā