Comments (4)
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.
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.
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.
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:
gx.nvim/lua/gx/handlers/url.lua
Line 12 in ea4cc71
Does it make sense for you?
from gx.nvim.
Related Issues (20)
- Plugin pattern should also match in vimscript files HOT 1
- Markdown links only open if the cursor is on the url itself HOT 1
- Add tests for current cursor position
- Add search for word under cursor with search engine in browser HOT 2
- helper.merge_tables should be helper.concat_tables HOT 1
- Encoded square brackets don't seem to be recognized as part of a URL
- fugitive compatibility
- Recommend lazy loading on `gx` when using `lazy.nvim`
- Allow for user defined handlers HOT 3
- Allow custom keymap
- Weird text after gx HOT 2
- Handler for Rust's Cargo HOT 8
- [feature request] add jump to file HOT 3
- [bug] Markdown handler always chooses last URL in line
- bug: git handler does not remove `.git` from the end of https urls
- [Feature Request] Open multiple links when in visual selection mode HOT 1
- Allow selecting handler if there are multiple handlers matching HOT 4
- bug: github handler doesn't handle `org/repo#issue` HOT 3
- gx.nvim doesn't respect fragments in URLs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gx.nvim.