Repository navigation
Tab completion support #190
autolyticus
started this conversation in
Ideas
Replies: 6 comments 1 reply
|
this would definitely be nice and a feature I miss... there's a nice implementation for zsh using https://github.com/romkatv/zsh4humans its tab completion is really nice especially when cd-ing |
0 replies
|
something like this? https://github.com/DevAtDawn/fish-fzf-tab |
0 replies
|
@DevAtDawn Thanks for the script! # $XDG_CONFIG/fish/config.fish
...
# Replace fish's default tab pager with fuzzy_complete powered by fzf
bind \t fuzzy_complete
...# $XDG_CONFIG/fish/functions/fuzzy_complete.fish
function fuzzy_complete
set -f selected (complete -C | fzf -q (commandline -t) | cut -f1)
commandline --function repaint
commandline --current-token --replace -- (string escape -- $selected)
endI'm completely a newbie in fish scripting, feel free if y'all want to tweak it! |
0 replies
|
Check this out everyone! #293 |
1 reply
|
After giving a serious try to implement this, I decide to not ever do this. See my final comment in . |
0 replies
|
Re-opening so it's more discoverable |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Are there any plans for enabling the fuzzy search and completion from getting the output from "complete -C".
Most commands have pretty good completion these days and it would save a lot of time to fill in for example the output of
docker container stop, or of tmux sessions.This used to technically be an implemented feature on jethrokuan/fzf but had quite a few bugs with the implementation, especially with fish-shell itself not returning the quoted strings as output of "complete -C": fish-shell/fish-shell#3469
All reactions