Code Monkey home page Code Monkey logo

Comments (11)

chiphogg avatar chiphogg commented on May 18, 2024

I've tried to find the xclip version control to see whether/when/why that option was removed, but I'm coming up empty. I found Arch's xclip page, which lists 0.12-4 as the current version, but its upstream link points to sourceforge, which only shows version 0.12.

Any ideas?

from vim-syncopate.

htfy96 avatar htfy96 commented on May 18, 2024

According to its PKGBUILD, the binary on Arch(0.12-4 where 4 is pkgver which doesn't change source) is built from http://sourceforge.net/projects/xclip/files/xclip/0.12/xclip-0.12.tar.gz/download. I browsed through the source and didn't find anything about -t. Maybe your distribution made extra patch on it.

from vim-syncopate.

dbarnett avatar dbarnett commented on May 18, 2024

I see the --target option added in xclip r81: http://sourceforge.net/p/xclip/code/81/

from vim-syncopate.

htfy96 avatar htfy96 commented on May 18, 2024

Hmm... That commit was done on 2010-04-30 while xlip-0.12 was released on 2009-09-27 and Arch only follows mainstream releases. It seems that xclip didn't have a release in the past 5 years.

from vim-syncopate.

wsdjeg avatar wsdjeg commented on May 18, 2024

maybe you can try with xsel

from vim-syncopate.

htfy96 avatar htfy96 commented on May 18, 2024

I have switched to xclip-svn in AUR, which works well. It would be better if this were mentioned in README.md.

from vim-syncopate.

wsdjeg avatar wsdjeg commented on May 18, 2024

haven't used before,I install this proj just for neovim .By the way I am using fcixt's clipboard

from vim-syncopate.

chiphogg avatar chiphogg commented on May 18, 2024

Okay, let's figure out where we're at so we can fix this thing.

  • Switching to xclip-svn in AUR gives a recent-enough xclip which has the -t option.
  • xsel was suggested, but I don't see any way in the man page to specify HTML output. So I don't think it would be a viable alternative.

Does that sound about right?

If so, I think fixing up README.md should do it. We can add a section about installing xclip (right now it's an undeclared dependency -- oops!). That section can have install instructions for Ubuntu and Arch.

How does that sound?

from vim-syncopate.

htfy96 avatar htfy96 commented on May 18, 2024

Great.

from vim-syncopate.

chiphogg avatar chiphogg commented on May 18, 2024

@htfy96, can you write some instructions here for how to switch to xclip-svn on Arch? I've never used Arch, so I don't know.

Then I can incorporate your instructions into the pull request. Or you can write the PR yourself if you want; let me know what you prefer.

from vim-syncopate.

htfy96 avatar htfy96 commented on May 18, 2024

OK. I'll submit a pull request.

from vim-syncopate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.