Comments (8)
Hey @enrichman for sure you can open a PR!
from gum.
Are you saying that it searches the entire string for those characters instead of a singular word?
from gum.
Yeah it will highlight each letter.
from gum.
I just found this project but they use sahilm/fuzzy for the fuzzy searching so maybe the problem is with them. Again I just found this project so I could be wrong.
from gum.
Agreed this would be useful. In my testing with gum filter
I have say:
> Filter...
• Clear
/Users/mathomp4/Models/GrITAS-MERRA2_V2_SLES12-fromCVS/GrITAS
/Users/mathomp4/Models/mat-qvi-1_0_r3-SLES12-fromCVS/QVI
/Users/mathomp4/Models/GEOSgcm-GNU-TestMOM6AppUpdate/GEOSgcm
/Users/mathomp4/Models/GEOSgcm-Intel-TestMOM6AppUpdate/GEOSgcm
/Users/mathomp4/Models/GEOSldas-NAG-OLD/GEOSldas
/Users/mathomp4/Models/GEOSldas-NAG/GEOSldas
/Users/mathomp4/Models/GrITAS-MERRA2_V2_SLES12-fromCVS/GrITAS
/Users/mathomp4/Models/mat-qvi-1_0_r3-SLES12-fromCVS/QVI
/Users/mathomp4/Models/MAPL3-GNU/MAPL
/Users/mathomp4/Models/MAPL-GNU12-ZstdBaselib/MAPL
/Users/mathomp4/Models/MAPL-GNU/MAPL
/Users/mathomp4/Models/MAPL-Intel/MAPL
/Users/mathomp4/Models/MAPL-NAG-7.1_7113/MAPL
/Users/mathomp4/Models/MAPL-mepopackage/MAPL
and I'd like to drill down to the MAPL
ones. Unfortunately, when I try that I get pretty much everything still there since all it matches letters early on that don't "mean" as much:
Note that filtering on mapl
or MAPL
doesn't help.
from gum.
I just found this project but they use sahilm/fuzzy for the fuzzy searching so maybe the problem is with them. Again I just found this project so I could be wrong.
It looks like @isacikgoz has made some improvements on the original fuzzy. Maybe he'd know if whole-word searching is possible?
from gum.
Since I like this project and it's part of the Hacktoberfest I was trying to have a look at this.
I have a working POC, can I assign this to me and open a PR?
from gum.
Thanks @maaslalani, I've found a couple of issues with my initial approach, but I've fixed them.
from gum.
Related Issues (20)
- Add a command palette
- Outdated syntax in pager command example comment
- add (shift) tab keybindings
- 0.14.0 release was not completed HOT 5
- Pressing `a` to select all in `gum choose` no longer works
- Release 0.14.0 does not contain any release assets HOT 4
- fish completions break tab-completion of files/folders
- Unnecessary whitespace output
- gum write completion (intended?)
- gum choose wrapping (intended?) HOT 1
- cursor foreground color
- gum confirm no longer lets you disable negative message HOT 1
- gum confirm does not work on powershell HOT 1
- "Esc" does not exit "gum input" anymore
- gum choose prints "user aborted" when you ctrl-c HOT 1
- Gum spin only accepts a hard-coded command
- gum choose v0.14.0: timeout no longer working
- gum choose does not center Yes and No in a centered manner like the previous gum versions
- Can't extract with `tar -x` HOT 2
- gum v0.14.0 confirm: no longer able to answer with Y/N keys HOT 1
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 gum.