vim-anywhere
vim-anywhere copied to clipboard
add abilty to keep your previous cliboard
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. :)
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
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.