-
Notifications
You must be signed in to change notification settings - Fork 5
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
--to-clipboard
not working
#15
Comments
Hi, you need to escape the space:
BTW: there is a shortcut for --to-clipboard: Regards |
crap... event with --to-clipboard it writes a file: Is there a chance to fix it and have only one output: either a file or clipboard? BTW: great plugin!! |
So the way I have been using it is as follows. I highlight a few lines, then just execute |
I see now. |
I'm having trouble with copying the generated images to my clipboard.
While generally the plugin works great and I've been able to generate png's in my configured path, images don't appear on the clipboard.
I saw a reference to
xclip
in the code, although seemingly just to check if the executable exists. So since I'm on wayland, I replaced/bin/xclip
with a symlink to/bin/wl-copy
(the wayland copy-to-clipboard binary).This works everywhere else on the command line, etc. But not from the nvim silicon plugin.
I've tried the following:
:'<,'>Silicon --to-clipboard
, which results in the error messagefailed to parse command-line argument: '--to-clipboard'
:'<,'>Silicon --to-clipboard=true
, after double checking the flag parsing code. This gives a success message, but doesn't actually put anythign on the clipboardg:to-clipboard = true
in the configinotifywait
listener on/bin/xclip
does fire when executing the:Silicon
command in nvim, I see a/bin/xclip OPEN
notificationAny idea what I might be doing wrong?
The text was updated successfully, but these errors were encountered: