Skip to content

Conversation

@guidocella
Copy link
Contributor

Make Ctrl+y copy the input line to the clipboard, or the currently selected item in the menu.

The vi key to copy is used because Ctrl+c is already bound.

Alternative bindings are:
Ctrl+x to cut, but this also clears the line.
Ctrl+shift+c like in terminals, but this is harder to press, and this commit works differently from terminals anyway since you don't manually highlight characters, it just copies the whole line.
Alt+w, the emacs copy binding, but unless you use emacs this is weird and unfamiliar.

Make Ctrl+y copy the input line to the clipboard, or the currently
selected item in the menu.

The vi key to copy is used because Ctrl+c is already bound.

Alternative bindings are:
Ctrl+x to cut, but this also clears the line.
Ctrl+shift+c like in terminals, but this is harder to press, and this
commit works differently from terminals anyway since you don't manually
highlight characters, it just copies the whole line.
Alt+w, the emacs copy binding, but unless you use emacs this is weird
and unfamiliar.
@github-actions
Copy link

@kasper93 kasper93 merged commit 614e3c4 into mpv-player:master Jul 4, 2025
29 checks passed
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.

2 participants