Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

file_picker_in_current_buffer_directory not working #8814

Closed
BobbyByrne opened this issue Nov 14, 2023 · 1 comment
Closed

file_picker_in_current_buffer_directory not working #8814

BobbyByrne opened this issue Nov 14, 2023 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@BobbyByrne
Copy link

Summary

This command doesn't do anything. It simply closes the command panel.

The PR for this feature has another user experiencing the same issue back in April.
#4666 (comment)

I'm also experiencing the same issue with <space>f and <space>F doing the same thing.

Reproduction Steps

I tried this:

  1. Opened helix in a project root dir. example /projects/foo
  2. Opened a file buffer in a nested dir /projects/foo/bar/baz.rs
  3. Attempted all three commands starting with file_picker

I expected this to happen:

  • file_picker
    • ?
  • file_picker_in_current_directory
    • I would expect the file picker to open in /projects/foo
  • file_picker_in_current_buffer_directory
    • I would expect the file picker to open in /projects/foo/bar
    • I think I would expect this to be the same behavior as file_picker, but I'm not sure what the actual default behavior is.

Instead, this happened:

  • file_picker using space f
    • opens file picker in /projects/foo
  • file_picker_in_current_directory using space F
    • opens file picker in /projects/foo
  • file_picker using command window <space>?
    • closes command window and does nothing...
  • file_picker_in_current_directory using command window <space>?
    • closes command window and does nothing...
  • file_picker_in_current_buffer_directory using command window <space>?
    • closes command window and does nothing...

Helix log

No response

Platform

Windows (WSL)

Terminal Emulator

Windows Terminal Version: 1.18.2822.0

Installation Method

releases page

Helix Version

helix 23.10 (f6021dd)

@BobbyByrne BobbyByrne added the C-bug Category: This is a bug label Nov 14, 2023
@gabydd
Copy link
Member

gabydd commented Nov 14, 2023

The pickers not working from the command palette is: #4508 if you want the picker in current buffer directory then at the moment you need to bind it to key

@helix-editor helix-editor locked and limited conversation to collaborators Nov 14, 2023
@pascalkuthe pascalkuthe converted this issue into discussion #8816 Nov 14, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants