helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
31.15k stars 2.3k forks source link

Show current workspace with working directory in status line #11033

Open mfirhas opened 1 week ago

mfirhas commented 1 week ago

Continuing from issue: https://github.com/helix-editor/helix/issues/8966

Helix has workspace(space-f) and working directory(space-F).

It's good to show those information in status line so we're aware of where we're at, at what workspace(.git) and working directory.

This how it should looks like in status line:

workspace-base-dir/working-directory/sub-working-directory

Im confused when opening multiple projects in multiple tabs with helix, in each of them I switched directories and just confused as file picker doesn't give information of the current root directory, nor file-name config as it started from right under that workspace/working directory.

The rules:

It's good to combine it with file-name config, as it shows paths right under current workspace/working directory.