Skip to content

Different saveundo buffers for symlinked files #3995

@past-gen

Description

@past-gen

Description

In order for most of my day-to-day apps to work properly on Windows, and for easy backup/restore purposes, I had to symlink most of they config directories manually, to mimic a fraction of a Unix ecosystem power. So, now using some filemanager, like Yazi in my case, I always get different buffers for the same files depending entirely on CWD.

Confusing, irritating and not very practical.

Now, I do realize that it may be even more confusing if you open one file and it suddenly uses a different filepath across the app, so mayhaps Micro should always resolve symlinks to their actual destination, at least for "save-state" logic?

Aaaaand, It would also be nice to have a corresponding option in the settings that would allow this behavior to be applied globally to all files. As some may prefer it that way by default.

Environment

  • Version: 2.0.16-dev.15 ( 3a7403b )
  • OS: Windows
  • Terminal: -

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions