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

performable: prefix #4345

Merged
merged 5 commits into from
Jan 3, 2025
Merged

Conversation

IrishBruse
Copy link
Contributor

@IrishBruse IrishBruse commented Jan 2, 2025

closes #4328
closes #3970

makes this possible now

keybind = performable:ctrl+c=copy_to_clipboard # copy if theres a selection else send sigint
keybind = ctrl+v=paste_from_clipboard

@IrishBruse IrishBruse changed the title copy_to_clipboard return false if not performed performable: prefix Jan 2, 2025
@mitchellh mitchellh enabled auto-merge January 2, 2025 23:56
@mitchellh
Copy link
Contributor

Thanks! You mostly got it. I made some modifications feel free to look at my commits.

@mitchellh mitchellh merged commit 7e1b7bb into ghostty-org:main Jan 3, 2025
24 checks passed
@github-actions github-actions bot added this to the 1.0.2 milestone Jan 3, 2025
@IrishBruse
Copy link
Contributor Author

Awesome thanks for the help im new to zig.

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.

Introduce performable: prefix for keybind triggers to passthrough if they would do nothing
2 participants