Skip to content

Update tags after moving/deleting tagged files #2432

@climbTheStairs

Description

@climbTheStairs

Currently, when files that have been tagged (t) are moved (d) or deleted, the tags remain unchanged in $XDG_DATA_HOME/lf/tags, rather than being updated or removed.

When I'm moving tagged files (or directories containing them), I have to manually update all the tags, which is inconvenient. For larger or deeper directories, it's easy to forget they contained tagged files at all.
In addition, the current behavior leads to the tags file being filled with non-existent files that have to be manually cleared out.

This would make using lf far more convenient, and considering that tags are part of lf, I believe this would be closer to the expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions