rio icon indicating copy to clipboard operation
rio copied to clipboard

Adding hint rules from docuemtentation does not work and results in errors

Open spkis opened this issue 3 months ago • 1 comments

HI there!

I am using rio with zellij and want to switch the click key for my mouse. I have tried all examples from doc (https://rioterm.com/docs/features/hyperlinks, https://rioterm.com/zh-hans/docs/config#basic-configuration) but always get issues.

If the toml is not complaining about the regex - or the regex is super simple - i get still issues like "action" missing even though it exists:

` [hints]

Characters used for hint labels

alphabet = "jfkdls;ahgurieowpq"

URL hint example

[[hints.rules]] regex = "(https://|http://)" hyperlinks = true post-processing = true persist = false

[hints.rules.action] #command = "xdg-open" # Linux/BSD command = "open" # macOS

command = { program = "cmd", args = ["/c", "start", ""] } # Windows

[hints.rules.binding] key = "O" mods = ["Control", "Shift"]`

I am not sure why this happens or if I am doing something wrong. I am using rio version 0.2.30 on MacOS M1.

spkis avatar Sep 18 '25 12:09 spkis

Thank you! fixing it for the next version. I am having similar issues

raphamorim avatar Sep 20 '25 11:09 raphamorim