Incredibly close to ripgrep with line number hyperlinking - Status survey #1898
Replies: 5 comments 1 reply
-
Hi @gczajkowskiTT, let's get to the bottom of this. As one starting point I can confirm that the following is working for me (
Here's some example
and
and hexyl
(Incidentally, on a separate note, you might be interested in #1769 -- feel free to leave any feedback there) |
Beta Was this translation helpful? Give feedback.
-
I've installed kitty Are you using tmux? Would you be able to try Alacritty on MacOS? It feels to me that the reported problems with hyperlinks must be user-environment-specific: I believe that delta is emitting the correct sequence of bytes, as evidenced by the fact that it works for most people. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm not using Tmux. I got a lot further since yesterday on MacOS:
What's missing:
Todo:
|
Beta Was this translation helpful? Give feedback.
-
Delta is incredible, and I have been using it for years. I'm attempting to have my team of fifty adopt it as their "tool of choice" in our git-centric workflows. I want to make a great impression during the tool "show-off."
The powers of delta turn exponential when integrated with other super tools (just like your favorite Marvel & Capcom superheroes teams).
I am pulling together all the various integrations to show off the combined superpowers of Delta, Ripgrep/Ugrep, git, Atuin, Powerline-status, Warp/Kitty/Konsole, fzf, and many new rust system utilities. (Surprisingly, very few know about the powerful ripgrep or ugrep searchers)
Pain point seems to be hyperlinking is not functioning at all for me with delta :( across two OSes and four terminals) focusing on
rg -C 2 needle --json | delta --hyperlinks
it looks like this:Test http link:
printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'
Test vscode link:
printf '\e]8;;vscode://file//Users/jaminthornsberry/.gitconfig:10\e\\Take me to git config!\e]8;;\e\n'
Linux RH8
printf ...
rg -C 2 needle
rg -C 2 needle --hyperlink-format=kitty
git blame
rg -C 2 needle --json | delta --hyperlinks
rg -C 2 needle --json | delta --hyperlinks
MacOS
printf ...
printf ...
rg -C 2 needle...
rg --hyperlink-format=kitty
rg --hyperlink-format=vscode
git blame
rg -C 2 needle --json | delta --hyperlinks
rg -C 2 set_env --json | delta --hyperlinks --hyperlinks-file-link-format "vscode://file/{path}:{line}"
rg -C 2 set_env --json | delta --hyperlinks --hyperlinks-file-link-format "vscode://file/{path}:{line}"
rg -C 2 needle --json | delta --hyperlinks
rg -C 2 set_env --json | delta --hyperlinks --hyperlinks-file-link-format "vscode://file/{path}:{line}"
rg -C 2 set_env --json | delta --hyperlinks --hyperlinks-file-link-format "vscode://file/{path}:{line}"
Beta Was this translation helpful? Give feedback.
All reactions