Comments (4)
I've just submitted a PR for this feature request. Could you please take a look and provide your feedback? Any comments or suggestions would be greatly appreciated!
Thanks! 🙏
from gx.nvim.
Now when I use gx
on the text "chrishrb/gx.nvim"
, I get multiple selections:
Multiple patterns match. Select:
https://github.com/chrishrb/gx.nvim (nvim-plugin)
https://chrishrb/gx.nvim (url)
Is there a way to always default to github?
from gx.nvim.
The issue looks to be with the pattern. Multiple patterns seem to show up when .nvim
is at the end.
"chrishrb/gx"
does not appear to match multiple patterns.
from gx.nvim.
Perhaps url pattern matching without http(s) could be an opt-out feature?
gx.nvim/lua/gx/handlers/url.lua
Lines 15 to 22 in ea4cc71
This could reduce the number of potential handler conflicts.
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
- bug: github handler doesn't handle `org/repo#issue` HOT 3
- Support for Mac Deep links HOT 4
- 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.