-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add copy-from/paste-back functionality #31
Comments
As far as the Linux install is concerned we'll have to add xdotool as a dependency. Though I might just use the xclipboard buffer. By default in X any selected text is already in the xclipboard buffer. The flow will be like so:
That's the the best way I know in Linux. |
Is xdotool a requirement for invoking keystrokes via the command line? |
It can simulate any input from the command line. It could also simulate a |
Neat. Good to know. I'm less inclined to try to support this now that I know it will require external dependencies. Surprisingly, on OSX, it's all possible through AppleScript. |
I think that "automatically past buffer in primary app at the end" is a bad idea, why ? Here is my workflow for wich it fail :
That's why I prefere having to type cmd-v at the end. |
We would be implementing it under a separate keybinding. The default behavior wouldn't change. I'm with you, I prefer to manually type cmd-v. |
👍 |
I've presently got a rough and ready version of copy-text-from-current-app-into-buffer working for OSX. Do you have any issues with taking pull requests that only work on one platform? |
@Govan Sorry about the crazy late response. I'd rather keep the feature set consistent across both platforms. That said, if you have something working on OSX, I bet we can figure it out and port it to Linux. Feel free to post a PR and we'll follow up. ^_^ |
Has any progress been made with this feature? I would love to contribute but I have no experience with AppleScript :( |
It is possible to achieve this with a simple companion browser extension. |
This is a pretty commonly requested feature.
When vim-anywhere is invoked:
This should be implemented as an alternate keybinding. Something like
ctrl+cmd+c
(OSX) orctrl+alt+c
(Linux). The current functionality ofctrl+cmd+v
shouldn't change at all.The text was updated successfully, but these errors were encountered: