mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-03-17 20:28:03 +02:00
printer: remove 'subl' alias
It was apparently using a format specific to a particular plugin. I did know that, but apparently the plugin is not ubiquitous or de facto standard[1]. Thus, including it I think just leads to more confusion. We definitely do not want to be in the business of bundling aliases for every conceivable plugin to different editors, so just drop it. We expose the ability to write your own format for exactly this sort of reason. [1]: https://github.com/BurntSushi/ripgrep/discussions/2611#discussioncomment-7138302
This commit is contained in:
parent
392bb0944a
commit
9c6732bd26
@ -1529,10 +1529,10 @@ in terminal emulators that support OSC-8 hyperlinks. For example, the format
|
||||
file://{host}{path} will emit an RFC 8089 hyperlink. To see the format that
|
||||
ripgrep is using, pass the --debug flag.
|
||||
|
||||
Alternatively, a format string may correspond to one of the following
|
||||
aliases: default, file, grep+, kitty, macvim, none, subl, textmate, vscode,
|
||||
vscode-insiders, vscodium. The alias will be replaced with a format string that
|
||||
is intended to work for the corresponding application.
|
||||
Alternatively, a format string may correspond to one of the following aliases:
|
||||
default, file, grep+, kitty, macvim, none, textmate, vscode, vscode-insiders,
|
||||
vscodium. The alias will be replaced with a format string that is intended to
|
||||
work for the corresponding application.
|
||||
|
||||
The following variables are available in the format string:
|
||||
|
||||
|
@ -13,8 +13,6 @@ const HYPERLINK_PATTERN_ALIASES: &[(&str, &str)] = &[
|
||||
// https://macvim.org/docs/gui_mac.txt.html#mvim%3A%2F%2F
|
||||
("macvim", "mvim://open?url=file://{path}&line={line}&column={column}"),
|
||||
("none", ""),
|
||||
// https://github.com/inopinatus/sublime_url
|
||||
("subl", "subl://open?url=file://{path}&line={line}&column={column}"),
|
||||
// https://macromates.com/blog/2007/the-textmate-url-scheme/
|
||||
("textmate", "txmt://open?url=file://{path}&line={line}&column={column}"),
|
||||
// https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls
|
||||
|
Loading…
x
Reference in New Issue
Block a user