Vim and gpg

2016-05-14 Thread egalua
Hi, it makes many years that I am using vim to open a text file which is encrypted by gpg. To this aim, in my .vimrc I have the following: augroup encrypted " Support for transparent editing of gpg (symmetric) encrypted files au! " Make sure nothing is written to ~/.viminfo while edi

Re: Vim and gpg

2016-05-14 Thread Christian Brabandt
Hi egalua! On Sa, 14 Mai 2016, ega...@gmail.com wrote: > > Hi, > it makes many years that I am using vim to open a text file which is > encrypted by gpg. To this aim, in my .vimrc I have the following: > > augroup encrypted > " Support for transparent editing of gpg (symmetric) encrypted f

Re: Vim and gpg

2016-05-15 Thread Mario D
> You might try with a different terminal or trying, if any of those settings > circumvents this problem > > :set term=builtin_ansi > :set t_RV= > :set t_u7= > Yes: the first setting seems to do the job. I added the line autocmd BufReadPre,FileReadPre *.asc,*.gpg set term=builtin_ansi i

Re: Vim and gpg

2016-05-15 Thread Eric Christopherson
On Sun, May 15, 2016, Mario D wrote: > > > You might try with a different terminal or trying, if any of those settings > > circumvents this problem > > > > :set term=builtin_ansi > > :set t_RV= > > :set t_u7= > > > > Yes: the first setting seems to do the job. > I added the line > > autocmd B

Re: Vim and gpg

2016-05-16 Thread Mario D
> As a workaround (without forcing term=builtin_ansi), do you have any > success if you hit backspace a bunch of times at the password prompt, > before you start typing the password? Yes: this works. If I remove forcing the term and I hit backspace a few times, then I can edit the file properly.

Re: Vim and gpg

2016-05-18 Thread Eric Christopherson
On Mon, May 16, 2016 at 8:18 AM, Mario D wrote: > > As a workaround (without forcing term=builtin_ansi), do you have any > > success if you hit backspace a bunch of times at the password prompt, > > before you start typing the password? > > Yes: this works. If I remove forcing the term and I hit

VIM and gpg decryption , also pinentry

2010-12-22 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm experiencing a problem with GPG decryption , encryption works fine. inside vimrc: map :1,$!gpg -as 2>/dev/null map :1,$!gpg -ae --clearsign 2>/dev/null map :1,$!gpg -ad 2>/dev/null map :1,$!gpg -ae

Re: VIM and gpg decryption , also pinentry

2010-12-29 Thread taco
hi, Aaron, on terminal "CRTL+D" is hotkey use for suspend program, maybe use need to map other key for this feature best regards 2010/12/22 Aaron Lewis > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, >I'm experiencing a problem with GPG decryption , encryption works > fine. >