Skip to content
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

url to clipboard not always working #207

Open
nongiach opened this issue May 12, 2017 · 4 comments
Open

url to clipboard not always working #207

nongiach opened this issue May 12, 2017 · 4 comments

Comments

@nongiach
Copy link

nongiach commented May 12, 2017

Hello,

thx for this great plugin.

:Gist will put the url to clipboard as expected
while :'<,'>Gist doesn't put the url to clipboard.
Is there something that I forgot to configure or it wasn't intended to work like this ?
It would be even cooler if it worked this way 👍

Thx

@mattn
Copy link
Owner

mattn commented May 12, 2017

What version of vim do you use? gvim or vim? OS?

@nongiach
Copy link
Author

sorry, for the delay.
I'm using neovim and archlinux.
Does it mean it's on my side ?
Thx

@mattn
Copy link
Owner

mattn commented May 15, 2017

Do you set g:gist_clip_command?

@wstrm
Copy link

wstrm commented Apr 10, 2019

I'm experiencing the same issue, when using :Gist it works fine, but with '<,'>Gist I get a ( character in the clipboard and nothing else.

I've set:

let g:gist_detect_filetype = 1
let g:gist_clip_command = 'xclip -selection clipboard'
let g:gist_post_private = 1
let g:gist_show_privates = 1
:version
NVIM v0.3.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wconversion -U_FORTIFY_SOURCE -D_FORT
IFY_SOURCE=1 -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99
-Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_G
ENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/var/tmp/portage/
app-editors/neovim-0.3.3/work/neovim-0.3.3_build/config -I/var/tmp/portage/app-editors/neovim-0.3.3/work/neo
vim-0.3.3/src -I/usr/include -I/var/tmp/portage/app-editors/neovim-0.3.3/work/neovim-0.3.3_build/src/nvim/au
to -I/var/tmp/portage/app-editors/neovim-0.3.3/work/neovim-0.3.3_build/include
Compiled by root@hubble

Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "/etc/vim/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants