Comments (7)
Hmm... AFAIK I don't think it can be done at the moment. (I read all the code, and I don't see anything pertaining to what you want). How would you like this to be resolved, specifically?
- A
zaw
keybinding that appends$BUFFER
to the currentzaw
query - A way to tell
zaw
to start a particular source with the$BUFFER
as it's initial value - something else...
from zaw.
@PythonNut thanks for pinging me. Here's the flow I'd like. I don't know enough about the implementation to know exactly what I'd like from that perspective, but here's how I'd like it to function:
$ heroku logs prod
At this point, I want to be able to press Control-R
and see something like this:
$ heroku logs prod
filter: heroku logs prod
heroku logs -n 2000 --tail --app=my-app-production
heroku logs -n 2000 --tail --app=my-other-app-production
heroku logs -n 2000 --tail -p worker.1 --app=my-app-production
heroku logs -n 2000 --tail -p app.1 --app=my-app-production
heroku logs -n 2000 --tail -p worker.1 --app=my-other-app-production
[1/18]
at which point I could continue to type my other
and have it continue to filter down the list.
from zaw.
👍 zaw-history
is great, but the lack of this feature almost makes me want to go back to built-in zsh history commands
from zaw.
@willghatch I just tried your commit. It's exactly what I was wanting 😍
THANK YOU SO MUCH!!
from zaw.
It is a good idea to extend this functionality to other sources like ssh-host etc
from zaw.
I'm not sure it would be a great fit for ssh-host, because that probably implies that the line start ssh
, but the hostnames probably don't have "ssh" in them, so you would have to go back and delete the ssh thing. So unless you start adding some fancy filtering for what you want to keep from the initial command line (which I don't want to do), it wouldn't work very well.
from zaw.
Thanks, I was hoping that I can just type hostname and search using ssh-host source. Press enter.
from zaw.
Related Issues (20)
- No fuzzy search?
- ANSI color codes in candidates
- ANSI color codes in candidates HOT 1
- Action not executed
- after installation with zplug, zaw does nothing in response to ^x HOT 1
- Can I swap/use custom keybindings default action and alternative action? HOT 2
- zaw from stdin ? HOT 4
- fasd input displayed in reverse order
- Arguments not passed to source
- no_short_loops breaks Zaw compilation HOT 1
- Does zaw support Shift+Tab? HOT 2
- Keybindings for alternative options HOT 3
- zle: widgets can only be called with ZLE is active HOT 5
- "No such widget" error HOT 2
- Enter executes command instantly HOT 1
- Maintenance HOT 1
- Error when using `zsh-syntax-hightlighting` with `zaw` HOT 3
- Document for writting zaw source
- zaw-action:2: number expected HOT 2
- Default action does not working on zsh 5.0.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 zaw.