jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
728 stars 73 forks source link

Error detected while processing BufReadCmd Autocommands for "*.{gpg,asc,pgp}" #126

Closed rubin55 closed 2 years ago

rubin55 commented 2 years ago

Lately I'm getting this error when opening an encrypted .gpg text file:

Error detected while processing BufReadCmd Autocommands for "*.{gpg,asc,pgp}"..function gnupg#init[115]..<SNR>55_GPGSyst
em[11]..<SNR>55_GPGPostCmd:
line    8:
E530: Cannot change 'term' in the GUI
E530: Cannot change 'term' in the GUI
E530: Cannot change 'term' in the GUI
E530: Cannot change 'term' in the GUI

I'm using gvim.

jamessan commented 2 years ago

Did you recently switch to gvim? That error has been in Vim for a long time, as has the code in the plugin which is triggering it.

I can push a fix for this.

rubin55 commented 2 years ago

Fix would be much appreciated! I switched to GVim about 4 months ago, the errors have indeed showed up consistently since I started using GVim.