Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Paste the current selection with the right mouse button? #751

Open
raphamorim opened this issue Nov 3, 2024 Discussed in #749 · 0 comments
Open

macOS: Paste the current selection with the right mouse button? #751

raphamorim opened this issue Nov 3, 2024 Discussed in #749 · 0 comments

Comments

@raphamorim
Copy link
Owner

Discussed in #749

Originally posted by tjatjagithub November 2, 2024
I am coming from Alacritty and am tempted to replace it with Rio on my Mac.

In Alacritty, I have a configuration that allows to select text with the left mouse button and paste it with the right mouse button - super standard and fast to use.

As Rio is based on Alacritty, I created those lines for ~/.config/rio/config.toml:

[selection]
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t$/="
save_to_clipboard = true

[shell]
program = "/opt/local/bin/bash"
args = ["--login"]

[mouse_bindings]
buttons = [ { mouse = "Right",                 action = "PasteSelection" } ]

This does not give a syntax error, but it does not work :-(

The selection cannot be pasted with the right mouse button.

Did I do this wrong, or can Rio not do this?

Any help is appreciated :-)
Many thanks!

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

No branches or pull requests

1 participant