oil.nvim
oil.nvim copied to clipboard
Using rename to move an existing file to a subdirectory
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