-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
First selection shouldn't be to navigate back #86
Comments
Isn't that essentially achieved with I'm confident enough that I can close this 😅 Let me know otherwise :) This is also much preferred because users then can have it as they want. I have not clue whether that should be the default behavior, I most often fuzzy search anyways. Maybe this could be added to the wiki or something. Once I find some more motivation/time to work on file browser, I'll tidy up the wiki. |
NICE! indeed it fix my issue. it's kind annoying in that you could see the highlighter jump down after switching but it's good enough. The reason I'm using it like that is because usually when browsing files, I don't do fuzzy match because I'm reviewing files one by one, like I would do with ranger.
him yah hmm I'd vote for it to be default behavior with finding a work around for the noticeable switch to index 2. Thanks @fdschmidt93 |
What do you mean? When I open the file browser, I don't see any flickering of sorts. Otherwise, it's a telescope upstream issue if you look at pickers.lua how selection is initially set on the first entry and then set anew on once finding is completed (very fast w/o prompt anyways), assuming I'm reading the code correctly at a quick glance. In any case, upstream issue. But even then, on initial sorting it should always be plenty fast (unless Nothing I could do from within
Fine by me I guess, could you please make a PR? :) Would have to be added to |
it's barely noticeable but there is an initial indication of the movement the selection.
Yes, definitely an upstream thing. also cursor the stop filkers. hmm I should open an issue for this to track it
Or maybe an option to hide |
Not yet an option. PR welcome :) (E: though Idk, with
I'd say it's quite noticeable actually; strange. For me that kind of flickering doesn't even occur in the slightest -- it's always instant. Even if I turn CPU freq to super low. I also tried the |
hhhh no issues, I was planning to open a PR, but I was asking if there's a specific place where I can inject the new option. no worries.
Yah I appreciate that a lot, there was multiple efforts to get this project on it feats 😆 but now it's in a great state.
I'd say it's macos and m1 faults 🤣 should've listened to conni and not bought this machine. |
Would be here: telescope-file-browser.nvim/lua/telescope/_extensions/file_browser/finders.lua Lines 29 to 71 in e65a567
But I'm torn, wouldn't be |
Hmmm yah, idk, on one note, it is aesthetically pleasing to remove things you don't use, on the other hand it introduce yet another option. Given that this the default view of most terminal file browser, I believe this is an important option to have. |
Ok :) |
Is your feature request related to a problem? Please describe.
I'm always frustrated when I open the browser or navigate to a directory and have the selection being to jump back
Describe the solution you'd like
First selection is on the first result not on the action to go to parent.
Describe alternatives you've considered
I played around with the default action tried telescope actions like selection_move and move_next but it didn't work.
The text was updated successfully, but these errors were encountered: