I want to add a text file to a zip file using vim. I want to either add the file to my zip from local drive or create the file in the zip using vim.

  • (OTOH, see man zip and the part that starts "When given the name of an existing zip archive, zip will replace identically named entries in the zip archive (matching the relative names as stored in the archive) or add entries for new names.")
    – D. Ben Knoble
    Jul 20, 2022 at 13:52

1 Answer 1


The zip plugin documented at :help zip does not provide a way to modify zip files, only view and extract the contents.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.