Does anyone know of a simple way to swap whatever is currently in my clipboard with the current mouse selection?
So lets say my clipboard has the text Foo
in it.
On a line of code public void DoBar() { ...
I have Bar
selected
I'd like a simple key combination that changes DoBar()
to DoFoo()
and leaves me with the text Bar"
in the clipboard (so that if I was to press CTRL-V it would paste Bar
).
Note: I don't want to have to fiddle with anything graphical (i.e. clipboard switcher, paste ring). I'm just after a simple key-combination (so CTRL-X: Cut, CTRL-C: Copy, CTRL-V: Paste, CTRL-B?: Swap)
Bonus points for a general solution that works throughout Windows.