Comments (3)
I assume you're relying on fd
to list entries in fzf
. Did you experiment with the --search-path
flag in fd
?
print -D $PWD
# ~/Developer/fzf/bin
fd --search-path ../doc --search-path .
./fzf-preview.sh
./fzf-tmux
../doc/fzf.txt
Combined with the reload
action, you should be able to accomplish your goal.
fzf --bind 'ctrl-b:reload:fd --search-path ../doc --search-path .'
from fzf.
I suggest that you use fuzzy completion instead for that purpose.
vim /dirA/**<TAB>
See https://github.com/junegunn/fzf?tab=readme-ov-file#fuzzy-completion-for-bash-and-zsh
Since you're using zsh, also see https://github.com/junegunn/fzf/wiki/Configuring-fuzzy-completion#dedicated-completion-key
from fzf.
Yes, I've tried the above setting. Your suggestion requires one to exit fzf -> then reopen it with dirA which is my current workflow anyway. I was wondering if it is possible to achieve this without leaving fzf in the first place.
from fzf.
Related Issues (20)
- 0.53.0: --bind behaviour changed? HOT 4
- Feature request: Ability to display current line position and matched item count in fzf info HOT 7
- Garbage escape symbols in preview window HOT 1
- Switching to a dir outside of current dir with ALT-C HOT 3
- Significant prompt flick with fzf --expect HOT 4
- Replacing placeholder by the query when no match HOT 2
- Using bind with an echo output, the variable assignment no longer works HOT 2
- Question: What's the expected behavior with --nth and --with-nth together? HOT 2
- Manually triggering events HOT 1
- Allow pointer to be disabled HOT 4
- FZF_DEFAULT_OPTS is broken on OSX, installing via brew or git clone HOT 1
- [BUG] Multi-line commands surrounded by parentheses not showing up in history HOT 2
- Allow CTRL-C to cancel transform actions
- fzf-completion doesn't work on fresh archlinux install HOT 8
- --marker '═' --marker-multi-line '╔║╚' does not take effect? HOT 1
- "panic: runtime error" if tty is 1 line high HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 21
- fzf `CTRL+R` only working in zsh `vicmd` mode HOT 1
- Crash when piping output from node/nodemon web server HOT 6
- Running `fzf -f whatever` with an `i3` keybinding fails HOT 1
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.