Post History
Question How do I copy to clipboard from terminal with yy, assuming it's configured to use Vim bindings? I am using zsh with bindkey -v. MWE Enter something on the commandline (without pressi...
#2: Post edited
- How do I copy to clipboard from terminal with `yy`, assuming it's configured to use Vim bindings?
I am using zsh with `bindkey -v`.
- # Question
- How do I copy to clipboard from terminal with `yy`, assuming it's configured to use Vim bindings?
- I am using zsh with `bindkey -v`.
- # MWE
- 1. Enter something on the commandline (without pressing enter): `$
- uptime`.
- 2. Enter visual mode: `ESC`.
- 3. Yank: `yy`.
- This successfully yanks `uptime\n`, but only copys to the primary
- buffer. I'd like to copy to the secondary (clipboard) buffer.