vim-anywhere icon indicating copy to clipboard operation
vim-anywhere copied to clipboard

add abilty to keep your previous cliboard

Open thiswillbeyourgithub opened this issue 7 years ago • 2 comments

Hi,

great work on this app :)

I had an idea, wouldn't it be great if vim-anywhere copied the clipboard of the user just before overwriting it with the text entered in vim. So that after a 10 second configurable timeout starting when the vim file is closed the clipboard could be re copied from its backup.

I hope I'm clear. What do you think ?

PS : I'm guessing you'll have to pay attention to the behavior when multiple vim-anywhere session are open at the same time, and if one is reopen before the end of the timeout. :)

thiswillbeyourgithub avatar Jan 12 '18 23:01 thiswillbeyourgithub

Hey,

Thanks for the suggestion! I think I understand what you're getting at. I've had similar requests a few times in the past. In general, I'm trying to keep vim-anywhere as simple and cross-platform as possible. I probably won't ever implement this idea myself, but I'm not against trying to hash out the implementation over a pull-request.

Cheers, Chris

cknadler avatar Feb 17 '18 18:02 cknadler

fwiw, I agree that this is an orthogonal use-case to vim-anywhere's, and something that a clipboard manager like clipy solves quite well.

sodiumjoe avatar Feb 17 '18 22:02 sodiumjoe