#Vim tip: if you're editing a buffer in a directory that doesn't exist yet, you'll get error message "E212: Can't open file for writing: no such file or directory"
-
#Vim tip: if you're editing a buffer in a directory that doesn't exist yet, you'll get error message "E212: Can't open file for writing: no such file or directory"
It can be created with `:!mkdir -p %:h`.
`:!` means "run shell command".
`mkdir -p` means "create directory and all necessary parents".
`%:h` is vimspeak for the current file name, and modify it to get the "head". -
dancorne@fosstodon.orgreplied to dancorne@fosstodon.org last edited by
-
beaware@social.beaware.livereplied to dancorne@fosstodon.org last edited by
@dancorne there is on other Mastodon forks and other Fedi software entirely...Mastodon is the one of the softwares with the least functionality...
-
dancorne@fosstodon.orgreplied to beaware@social.beaware.live last edited by
@BeAware A ok, thanks, will have a look at those others
It's not a huge deal either way for me, but a small amount of markup formatting would make my post that much easier to read...