-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Hey @BlakeWilliams 👋🏻
I found an issue with my vim copy/paste config. Perhaps the issue is not in vim, but in rdm.
To illustrate, say I am on codepsaces, in a vim buffer with the following content:
one two three
four five
six seven
I am in normal mode, and my cursor is on the "f" from "five". I type yw (yank word), and that should copy the word "five". Then I type P to paste before my cursor, and this is the expected result:
one two three
four fivefive
six seven
But this is the actual result:
one two three
five
four five
six seven
It seems like copy behaves as if I had done a yy, or Y (copy line).
This is my vim config:
" Forward clipboard in a codespace
if !empty($CODESPACES)
let g:clipboard = {"name": "rdm", "copy": {}, "paste": {}}
let g:clipboard.copy["+"] = ["rdm", "copy"]
let g:clipboard.paste["+"] = ["rdm", "paste"]
let g:clipboard.copy["*"] = ["rdm", "copy"]
let g:clipboard.paste["*"] = ["rdm", "paste"]
endifAlso I played with rdm outside vim, to see if I found any clue.
I will dig some more later, and share what I found.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
