Feature: cd into the selected directory #98
Replies: 8 comments
-
Hi @a-glapinski, the find file feature (Ctrl+F). Is intended to replace this (type in cd, hit Ctrl+F, search for the directory, hit enter twice). |
Beta Was this translation helpful? Give feedback.
-
Just stumbled over your project when installing fzf on a new machine, and honestly, this is a deal breaker for me. I could add this myself, I guess, but the same could be said about anything. It would at least be honest to tell people about this in your comparison with jethrokuan's plugin, because right now, let's admit it, it just tells you this one is plain better. You list the added shortcuts, but not the missing ones. And, it's not my place to tell you how to do things, but seeing how you have two whole shortcuts for dealing with git, but not such a basic feature as directory switching, makes me think you want this plugin to only have features that you use youself. And that's fair, but again, that's not the impression the readme has left. |
Beta Was this translation helpful? Give feedback.
-
@finkrer Sorry to hear that. I did not mean to be dishonest, but I guess I could have been clearer. It is 100% possible to replicate the cd with fzf feature, it just takes more work. I even made the folders colored differently so it's easy to distinguish. So I wouldn't call it missing. |
Beta Was this translation helpful? Give feedback.
-
For v5, I am going to add keyboard shortcuts for taking action on the selected item, and one of them will be to cd into the folder if it's a folder, and to open the file with $EDITOR if it's not a folder. I haven't had time to work on it though. |
Beta Was this translation helpful? Give feedback.
-
@PatrickF1 Although directory switching is the feature I use fzf most for, I think I understand your reasoning. I still would like to have this feature, but thanks for creating this plugin, I really like it! |
Beta Was this translation helpful? Give feedback.
-
@PatrickF1 Sorry if my words were harsh, I just felt misled after reading such a positive readme. |
Beta Was this translation helpful? Give feedback.
-
Just as a bit of friendly feedback, it did feel harsh. However, I forgive you and I want to empathize with how you felt misled. Let me think about how I can reword it while keeping it succinct. It's a hard problem.
Thanks for giving me this perspective. I heavily rely on |
Beta Was this translation helpful? Give feedback.
-
Hi @a-glapinski @finkrer, there is now something nearly as good as an Alt+C command to cd into the selected dir. See #72 It only requires you to hit enter one extra time after using Ctrl+F. |
Beta Was this translation helpful? Give feedback.
-
In default integration available in
fzf
, there is an ability to cd into the selected directory withALT-C
keybinding. Is there a possibility to add this functionality to this plugin?Beta Was this translation helpful? Give feedback.
All reactions