Skip to content

Conversation

@bretello
Copy link

When using the Ctrl-T keybinding, to complete paths, I often start writing part of a path only to realize I want to use fzf.

With this patch, Ctrl-T now uses the last word in the buffer as initial query for fzf, which improves this scenario.

Here's a demo:

zsh-keybindings-query

This always uses the last word in the buffer, so typing something like ls<space><ctrl-t> will start fzf with ls as query

@bretello bretello force-pushed the zsh-keybindings-query branch from 94fab6f to 6eccd94 Compare December 21, 2023 15:47
@bretello
Copy link
Author

looking into the test failures

@bretello bretello marked this pull request as draft January 22, 2024 11:32
@tmpm697
Copy link

tmpm697 commented Apr 10, 2024

You achieve this with shell functions.

@eli-percepto
Copy link

eli-percepto commented Dec 24, 2024

Consider the ideas from here: #3918

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants