For e.g. Vim allows g? to run ROT13 on a visual selection. What are the inbuilt (preferably strong like blowfish2) encryption methods available for encrypting only a part of file.

  • 1
    Vim doesn't include support for this; you'll need to use an external command such as age, openssl, gpg. Feb 4, 2021 at 15:58
  • you may be able to make use of the filter function together with an external encryption program Feb 5, 2021 at 13:38


Your Answer

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

Browse other questions tagged or ask your own question.