Replies: 2 comments 3 replies
-
Showing a full recursively made list of all files under the current directory could also be an option but not the default option. I mean, scanning 611k+ files by default is a very bad idea and this should be done so only when a user really needs it and knows the list will not be huge. |
Beta Was this translation helpful? Give feedback.
-
The file picker works like |
Beta Was this translation helpful? Give feedback.
-
I've just discovered the Helix editor a few days ago and from a brief view it looks cool, useful and very promising to me. One of the cool things of Helix is its file picker. But at the same time the file picker has also disappointed me. I mean the idea of it is cool but at least my user experience was frustrated.
First of all the file picker doesn't have functionality of changing directory. It collects all files from either the current directory or the current Git worktree recursively and allows to choose a file from that list of files only. In my first run of Helix I ran it from its own directory (just double clicked on its executable) and was very wondering why I can't go to the parent directory from the file picker and edit some file that is not of Helix itself. Later I found that Helix supports changing the current directory by the
:change-current-directory
command, outside the file picker. But this is not convenient at all. Working with one big list of recursively found files is not convenient 300%! Look how it looks if the current directory isC:\
It also takes a long time to make that flat 611k+ list of files and the paths are truncated.
But it's cool anyway because if looks similarly to Norton Commander and to all other orthodox file managers (OFM) like Far Manager, Altap Salamander, Midnight Commander, etc. They also divide the screen into left and right windows and also have the preview functionality of the selected file. For example:
I propose to change the file picker to have a sub-set of that functionality of OFMs and to have a similar user experience. The minimum functionality that I expect to have is:
In case you don't want to add functionality of changing disk (because its Windows only) you can use the same approach that is used by MSYS2 and Cygwin where Windows disk letters are just directories in the root. For example
/d/develop/jansi/src
instead ofD:\develop\jansi\src
.Beta Was this translation helpful? Give feedback.
All reactions