oil.nvim icon indicating copy to clipboard operation
oil.nvim copied to clipboard

Using rename to move an existing file to a subdirectory

Open timtatt opened this issue 7 months ago • 4 comments

Previously an oil window with

foo.txt

changing to:

bar/foo.txt

would result in the following error "Filename cannot contain path separator"

With this code change, running the above Oil change will create a subdirectory bar if it doesn't exist and will move foo.txt inside

timtatt avatar Jul 06 '24 13:07 timtatt