url to clipboard not always working
nongiach opened this issue · 4 comments
nongiach commented
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 commented
What version of vim do you use? gvim or vim? OS?
nongiach commented
sorry, for the delay.
I'm using neovim and archlinux.
Does it mean it's on my side ?
Thx
mattn commented
Do you set g:gist_clip_command?
wstrm commented
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