Comments (7)
I've given some thought about it over time, and have come to agree with the need for the option. You have nicely summarized the reasoning behind this. I'll keep you updated on the progress.
from fzf.
Okay, now we have --select-1
and --exit-0
option (or -1
and -0
respectively).
I've also updated fe
example on the README page.
Could you update fzf and check if it works for you? Let me know if you see any problem.
(/cc @wellle)
from fzf.
👍 Looks great. I will upgrade soon.
from fzf.
Wow, thanks for the quick response, Junegunn!
A few suggestions:
- -1 should probably work regardless of whether --query is passed. That
will allow the user to automatically select the only choice if
$FZF_DEFAULT_COMMAND produces only one item. - -0 should probably also work regardless of whether --query is passed.
This will allow the user to avoid having to quit out of a useless fzf
session if no results were produced by $FZF_DEFAULT_COMMAND. - Consider returning 0 when exiting with the -0 option (it currently
exits with 1) to distinguish it from the case where there were several
matches, but the user pressed CTRL-C/ESC to exit the finder (which also
exits with 1).
Thanks again, this is a great utility!
Steve
On Wed, Apr 2, 2014 at 8:51 AM, Christian Wellenbrock <
[email protected]> wrote:
[image: 👍] Looks great. I will upgrade soon.
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-39325787
.
from fzf.
Ah, those are great suggestions. I've changed their behavior as suggested. Thanks!
from fzf.
Fantastic! Thanks again for putting together such a useful utility!
On Wed, Apr 2, 2014 at 12:08 PM, Junegunn Choi [email protected]:
Ah, those are great suggestions. I've changed their behavior as suggested.
Thanks!Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-39349413
.
from fzf.
Works great!
from fzf.
Related Issues (20)
- unknown option --no-tmux error HOT 1
- consider adding `--head` option? HOT 1
- Security Alert: Potential Trojan Detected in Windows Release v0.54.1 HOT 5
- [Feature Request] Line numbers for selectable results HOT 4
- Fzf 0.54.1 mac arm64 release contains a `._fzf` file HOT 3
- Using `FZF_POS` has a high impact on performance HOT 6
- Change tagline
- Request: Add a match whole word option HOT 3
- FZF + interactive RipGrep deadlock HOT 5
- Fzf window not showing in process substitution using zsh HOT 1
- `fzf --tmux bottom` opens tmux popup on the top HOT 5
- Impossible to get "sudo su" to be prioritized HOT 4
- Wrong list scrolling with --read0 and --height HOT 2
- Help creating custom fuzzy seach command script. HOT 1
- [Feature Request] Handle pytest command the same as python HOT 9
- Requires tmux 3.2 or above not only popup window HOT 1
- Support comments within FZF_DEFAULT_OPTS_FILE content HOT 2
- Matching with word boundaries HOT 7
- fzf version for linux too outdated HOT 1
- "Error: Not support reporting screen sizes in pixels" when previewing images in kitty from tmux with `--tmux` option. 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 fzf.