Skip to content

File rename not updating links #250

@krankur

Description

@krankur

Description

File rename works but links to the file don't get updated.

Steps:

  1. Navigate to the file to rename.
  2. Hit <leader>wr and enter new file name (without extension) in the command line prompt.

Actual Result: File name is updated successfully but links to it don't get updated.

Expected Result: All links to renamed file should be updated to reflect the new name.

Example:
I have the following directory structure.

├── index.wiki
├── dir1
│   └── note1.wiki
├── dir2
    └── note2.wiki

And following is the content of index.wiki:

[[/dir1/note1|note1]]
[[/dir2/note2|note2]]

When I go to note2.wiki and rename it to new-note by hitting <leader>wr, the file name changes but the link in index.wiki doesn't get updated with the new name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions