We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
hx /tmp/path/to/deep/file.txt
Error: Async job failed: can't save file, parent directory does not exist
Async job failed: can't save file, parent directory does not exist
Create all the parent folders automatically. This mirrors the expected behavior from IDE editors like VSCode.
The text was updated successfully, but these errors were encountered:
This is the behavior of the new :write! command: #1839
:write!
Sorry, something went wrong.
Thanks for the fast triage, out of curiosity, any reason why a new command was created?
See #1839 (comment)
expected behavior from IDE editors
This isn't common by default in editors like nvim, kakoune or emacs though.
The :command vs :command! are sort of similar to command vs sudo command in the shell
:command
:command!
command
sudo command
No branches or pull requests
Reproduction
hx /tmp/path/to/deep/file.txt
Error:
Async job failed: can't save file, parent directory does not exist
Expected Result
Create all the parent folders automatically. This mirrors the expected behavior from IDE editors like VSCode.
The text was updated successfully, but these errors were encountered: