You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I am very new to modal editors. I am trying to buid a habit of working with Helix but it is hard at first. I think Helix is very welcoming compared to other editors and this is what I like most about it. It works out-of-the-box.
When I open a workspace with a large project, I really like the fuzzy file picker. You can jump around your code very fast. You have the full path relative to the workspace so it is easy to know where the file is at and to orient yourself in the project.
On the other hand, I find it very clumsy to create new files in the project the way I do it. I wished I could leverage the fuzzy file picker to create my files. Let me explain.
How I do it right now (Is there a better way to do this?)
I usually do hx . to open my project workspace. Then from there if I want to create a new file, assuming I have an empty buffer, I type :wr then tab to autocomplete to :write . Then I get prompted with the existing files something like this:
Then I have to drill down to the folder I want to save and then append the name of my file.
I feel like this has many steps and even more when the file is deeply nested. On top of that, I feel like it is hard to visualise the project folder drilling down one level at a time. There is, for sure, a part of that is to blame on my inexperience with the software
How I wished I could to it
I would like to have some sort of alternate to space + f. Let's say space + c for create (might not be the most ergonomic keymap though). When I execute this keymap, I would be prompted a file picker similar to space + f, but instead of showing all the files, it would show only the folders.
I then choose the folder I wish to create my file in. Then, on a next step, a text input prompts me the name of my file another.rs for example which will then be save to disk at the location chosen in the folder picker. I hit enter and the file would be save to disk and ready to be edited.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I am very new to modal editors. I am trying to buid a habit of working with Helix but it is hard at first. I think Helix is very welcoming compared to other editors and this is what I like most about it. It works out-of-the-box.
When I open a workspace with a large project, I really like the fuzzy file picker. You can jump around your code very fast. You have the full path relative to the workspace so it is easy to know where the file is at and to orient yourself in the project.
On the other hand, I find it very clumsy to create new files in the project the way I do it. I wished I could leverage the fuzzy file picker to create my files. Let me explain.
How I do it right now (Is there a better way to do this?)
I usually do
hx .
to open my project workspace. Then from there if I want to create a new file, assuming I have an empty buffer, I type:wr
thentab
to autocomplete to:write
. Then I get prompted with the existing files something like this:Then I have to drill down to the folder I want to save and then append the name of my file.
I feel like this has many steps and even more when the file is deeply nested. On top of that, I feel like it is hard to visualise the project folder drilling down one level at a time. There is, for sure, a part of that is to blame on my inexperience with the software
How I wished I could to it
I would like to have some sort of alternate to
space + f
. Let's sayspace + c
for create (might not be the most ergonomic keymap though). When I execute this keymap, I would be prompted a file picker similar tospace + f
, but instead of showing all the files, it would show only the folders.I then choose the folder I wish to create my file in. Then, on a next step, a text input prompts me the name of my file
another.rs
for example which will then be save to disk at the location chosen in the folder picker. I hit enter and the file would be save to disk and ready to be edited.Beta Was this translation helpful? Give feedback.
All reactions