Skip to content

add Cursor hyperlink alias#3192

Merged
BurntSushi merged 3 commits intoBurntSushi:masterfrom
enochchau:ec-cursor-hyperlink-format
Oct 17, 2025
Merged

add Cursor hyperlink alias#3192
BurntSushi merged 3 commits intoBurntSushi:masterfrom
enochchau:ec-cursor-hyperlink-format

Conversation

@enochchau
Copy link
Contributor

Add hyperlink alias for Cursor. It works the same way as the other VSCode forks.
I have the following code in my zshrc but I would like to add the alias officially.

if [[ "$TERM_PROGRAM" == 'vscode' ]]; then
  alias rg='rg --hyperlink-format="cursor://file{path}:{line}:{column}"'
fi

@enochchau enochchau changed the title add cursor hyperlink alias add Cursor hyperlink alias Oct 17, 2025
"cursor",
"Cursor scheme (cursor://)",
"cursor://file{path}:{line}:{column}",
),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be at the top of the list. Note the failing test and the comments above.

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BurntSushi BurntSushi merged commit 38d6302 into BurntSushi:master Oct 17, 2025
21 checks passed
@enochchau enochchau deleted the ec-cursor-hyperlink-format branch October 17, 2025 19:03
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Oct 27, 2025
15.1.0
======
This is a small release that fixes a bug with how ripgrep handles line
buffering. This might manifest as ripgrep printing output later than you
expect or not working correctly with `tail -f` (even if you're using the
`--line-buffered` flag).

Bug fixes:

* [BUG #3194](BurntSushi/ripgrep#3194):
  Fix a regression with `--line-buffered` introduced in ripgrep 15.0.0.

Feature enhancements:

* [FEATURE #3192](BurntSushi/ripgrep#3192):
  Add hyperlink alias for Cursor.
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Nov 3, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [BurntSushi/ripgrep](https://github.com/BurntSushi/ripgrep) | minor | `15.0.0` -> `15.1.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>BurntSushi/ripgrep (BurntSushi/ripgrep)</summary>

### [`v15.1.0`](https://github.com/BurntSushi/ripgrep/blob/HEAD/CHANGELOG.md#1510)

[Compare Source](BurntSushi/ripgrep@15.0.0...15.1.0)

\======
This is a small release that fixes a bug with how ripgrep handles line
buffering. This might manifest as ripgrep printing output later than you
expect or not working correctly with `tail -f` (even if you're using the
`--line-buffered` flag).

Bug fixes:

- [BUG #&#8203;3194](BurntSushi/ripgrep#3194):
  Fix a regression with `--line-buffered` introduced in ripgrep 15.0.0.

Feature enhancements:

- [FEATURE #&#8203;3192](BurntSushi/ripgrep#3192):
  Add hyperlink alias for Cursor.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTcuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ny4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants