Giter Club home page Giter Club logo

Comments (4)

chrishrb avatar chrishrb commented on August 28, 2024

I also have a Mac but never had to use those deep links. What are those links, where to find them and where do they lead to?

from gx.nvim.

lcfd avatar lcfd commented on August 28, 2024

Hi @chrishrb, in the case I've mentioned deep links allow you to control/use applications on your Mac.

For example message:%3C....%3E will open the specified email in the mail app.

In the Neovim context, it's helpful to create "connections" between applications.
For example, I'm saving email deep links so I can go directly to the email without searching it again.

Another example is the Bear application:

https://bear.app/faq/x-callback-url-scheme-documentation/

from gx.nvim.

chrishrb avatar chrishrb commented on August 28, 2024

As I said - never heard of it. But sounds quite useful! πŸ‘
But this plugin currently only supports the browser app. I want to keep this plugin simple and small, so I donβ€˜t think this would make sense to implement here. Maybe you write an own plugin for this use case?

from gx.nvim.

lcfd avatar lcfd commented on August 28, 2024

Those are just links you can type in the browser, so it should be possible to support them without dealing with other applications than the browser.

I don't know if I'm correct or not, but I think it's just a matter of regexp.

If I'm over one of those links with the cursor and pressing gx it's enough that the plugin recognize them as URLs.
At the moment it works only with https:// and all the rest is searched as a Google query.
What if also {APP_NAME}:// is supported?

Maybe here:

local pattern = "(https?://[a-zA-Z%d_/%%%-%.~@\\+#=?&:]+)"

Does it make sense for you?

from gx.nvim.

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.