Skip to content

Add hotkey to copy selected words.#697

Open
kblissett wants to merge 1 commit into
LuteOrg:developfrom
kblissett:566-copy-selected-word-or-range
Open

Add hotkey to copy selected words.#697
kblissett wants to merge 1 commit into
LuteOrg:developfrom
kblissett:566-copy-selected-word-or-range

Conversation

@kblissett

Copy link
Copy Markdown

closes #566

This PR adds a configurable hotkey for copying the selected word(s). When non-contiguous words are selected they will be copied to the clipboard with a single space separating them. This may not be ideal for languages that do not separate words with spaces, but I'm not sure what else to do for the general case of copying non-contiguous spans.

@jzohrab

jzohrab commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Thanks very much @kblissett for adding the acceptance test, it’s so important!

ci will check lint and code formatting as well so if something comes up, please adjust. Ping me on discord if needed. 👋

@jzohrab jzohrab added this to Lute-v3 Jul 2, 2026
@jzohrab jzohrab moved this to In Progress in Lute-v3 Jul 2, 2026
@jzohrab jzohrab self-assigned this Jul 2, 2026
@kblissett

Copy link
Copy Markdown
Author

Looks like this was clean on CI as far as I can tell. No changes made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Add hotkey: copy hovered word

2 participants