Skip to content

Files forever lost on Windows #544

Description

@ubaldot

To reproduce:

  1. Set nmap <buffer> m <Plug>(fern-action-move)
  2. Open fern as a drawer
  3. select a file hit m (for example hit m when the file is on the file foo.txt)
  4. Move C:\User\myname\My - Folder\FOO\foo.txt -> C:\User\myname\My - Folder\BAR\FOO\foo.txt (The folder \BAR\FOO does not exist yet)

Then, the content of C:\User\myname\My - Folder\BAR\FOO\foo.txt is empty and the file C:\User\myname\My - Folder\FOO\foo.txt is lost forever.

Tested on Windows 11 with Vim 9.2 with patch 1-45.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions