-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acces parent directory from fzf #125
Comments
fzf is just a unix filter (like grep) that does not know the meaning of the items that it processes, so it's not possible to change the source dynamically. If you're on bash you can try using fuzzy completion although it won't be as easy as just hitting
|
Just leaving this here, you can do that with the following
In case you need the full path name, you can do
|
Also, just leaving a note... I got it working this way (minimal example): A function:
A script (here named fzf_cd):
The two parts (FD, CD) need to be separated so that there is at least '\n' piped to fzf (it won't work if fd produces no results in a leaf-directory). You can make it work in ranger, by having this in your commands.py:
I would love to see a deeper integration of ranger and fzf, they're just meant to be together! |
My issue was that I wanted to access any file/folder present anywhere in the HOME directory irrespective of the present working directory. To do so, I changed the default command by adding the following in my
Hope this helps! Also, thank you junegunn for this amazing tool! |
Hello,
first thanks for this wonderful and useful utility.
Would it be possible to add a way to go up the parent directory ? It would be especially useful when selecting a file via the Ctrl-T shortcut.
Thanks
The text was updated successfully, but these errors were encountered: