Comments (7)
@Jacobious52 Yep! That's exactly what I was thinking. Plus I can search the workspace / repo docstrings as well.
from tab-rs.
Woah! Super cool.
Yeah, Rayon & Crossbeam. They make sense - it's based on blocking I/O. I also found https://github.com/jhbabon/scout which runs on smol/asyncstd.
I like the fzf search syntax. It's be nice if I could support that.
I'll probably get back to this in a week or so once 0.4.0 is out. This is gonna be so cool!
from tab-rs.
@Jacobious52 I just merged initial support for this in #195. I used the fuzzy-matcher crate that Skim uses, so the matching behavior should be similar.
I wrote my own UI because I wanted it to be based on async and crossterm. Skim wasn't async, and scout was /dev/tty based (which would prevent future windows support). Plus it supports tab-aware search & output formatting.
I still have a few things to add:
- Handle terminal size (truncate width & height), and redraw on resizes
- Add the 'Matched/Total' counts
from tab-rs.
This would be a great feature to have. Perhaps something with fuzzy search like fzf or skim would work well, if not overkill.
from tab-rs.
Nice! For fun/learning I did a super rough and buggy proof of concept in a fork in the fuzzy-poc
branch here . I used skim
since it has a rust library but matches fzf
in functionality/quality, I think skim
is quiet heavy on dependences though, so not sure if you wanna go that route. UX wise it feels good though. Keen to see what you come up with!
from tab-rs.
Wow! Looks awesome! Combining fuzzy-matcherwith
crossterm` looks like a great choice 👍 Can't wait to try it out.
from tab-rs.
I think this is stable on the main branch, so I'm closing this.
from tab-rs.
Related Issues (20)
- Open a new tab from the working directory of the current tab HOT 2
- Status update HOT 1
- Issues installing tab on arm64. Failed to select version for zeroize = "^0.9.3" HOT 3
- Use package manifest in Cargo.toml
- Option to change Tab Color of Fuzzy Finder HOT 1
- tab --install -y
- Please set `-l` instead of `--login` flag when starting the shell for portability.
- User friendly config parse errors in `tab --check`
- Warnings about missing fuzzy config
- Dialoguer 0.7.0 does not compile anymore HOT 12
- Visually indicate active tab in fuzzy finder
- Complete selected tab name with the right arrow key
- Idea: Scratch tabs
- Provide ability of to next/previous tab using keyboard shortcuts outside fuzzy finder
- Failed to install with cargo HOT 1
- M2 Mac support ? HOT 1
- Unable to show images under kitty HOT 1
- Can no longer be installed with `cargo install tab` HOT 3
- Set terminal emulator tab name to match tab-rs tab
- [ERROR] Failed to initialize the tab command: timeout while waiting for tab daemon
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 tab-rs.