Skip to content
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

Usability enhancement (status line): place file status indicator before file name not after it #2582

Closed
aral opened this issue May 27, 2022 · 3 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@aral
Copy link
Contributor

aral commented May 27, 2022

A quick glace at the status line should be all it takes to reassure yourself of the current state of the buffer. Keeping common elements in the same place spatially can help with that.

Currently, the file status is shown after the file name which means that it will appear in different locations based on how long the path for the current file is.

e.g.,

NOR    ~/.config/helix/config.toml [+]

vs

NOR    ~/Projects/some-project/src/some-directory/some-other-directory/wow-this-is-a-long-directory-name/my-lovely.js [+]

Helix trains you to look at the lower left corner for the current editing state. Any other important state should be kept as close to this position as possible so the person doesn’t have to potentially scan a long line from left to right to get a state update.

Proposed solution

Move the file state indicator from after the file name to before it:

NOR    [+] ~/.config/helix/config.toml

And no matter how long the path is, a quick glance to the lower left of the screen will tell us the current state.

NOR    [+] ~/Projects/some-project/src/some-directory/some-other-directory/wow-this-is-a-long-directory-name/my-lovely.js
@aral aral added the C-enhancement Category: Improvements label May 27, 2022
@aral aral changed the title Usability enhancement: place file status indicator before the file name not after on status line Usability enhancement (status line): place file status indicator before the file name not after it May 27, 2022
@aral aral changed the title Usability enhancement (status line): place file status indicator before the file name not after it Usability enhancement (status line): place file status indicator before file name not after it May 27, 2022
@aral
Copy link
Contributor Author

aral commented May 27, 2022

Related: #2254

@the-mikedavis
Copy link
Member

I think this would best be solved by #708 (see also #2434). Ideally the status indicator should take up the same amount of space when a file is modified and not so there isn't a visual 'jump' when a file goes from unmodified to modified

@the-mikedavis the-mikedavis added the A-helix-term Area: Helix term improvements label May 31, 2022
@kirawi
Copy link
Member

kirawi commented Nov 10, 2022

#708 is resolved. There is now #4686 for the modification element.

@kirawi kirawi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants