scy,
@scy@chaos.social avatar

Instead of simply failing, my #Vim will now ask to create parent directories, if they don't exist, before saving a file.

https://codeberg.org/scy/dotfiles/src/commit/d3f843e5f674cef8572c51d45c41c3ec1f2f7b6c/.vim/plugin/mkdir-on-save.vim

amatan,
@amatan@mastodon.social avatar

@scy @normalmode Neovim has ++p. Vim should have that too (but I don’t recall it does)…

scy,
@scy@chaos.social avatar

@amatan @normalmode ++p only exists in more recent versions of Neovim, and it's still something manual that I have to add to the :w command.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • vim
  • ngwrru68w68
  • rosin
  • modclub
  • Youngstown
  • khanakhh
  • Durango
  • slotface
  • mdbf
  • cubers
  • GTA5RPClips
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • JUstTest
  • osvaldo12
  • tester
  • tacticalgear
  • ethstaker
  • Leos
  • thenastyranch
  • everett
  • normalnudes
  • anitta
  • megavids
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines