Closed kenny-evitt closed 7 years ago
The plugin works fine with gVim opened via a Windows Explorer or Windows Command Prompt window.
What's the difference in :echo has('win32unix')
in the config where it works and where it doesn't? Hopefully, :echo has('win32unix')
returns 1 in the case where you're having the problem.
@jamessan Sorry for not replying to your comment six months ago! And thanks for fixing it!
I suspect the problem is that the
gpg
(andgpg2
) commands installed by Gpg4win expect (require) Windows-style paths.I followed the steps outlined in this comment:
:let g:GPGDebugLevel=3
and then:let g:GPGDebugLog="debug.log"
.The contents of the debug.log file:
A Bash script (for managing passwords) that also uses
gpg
and targets Cygwin uses a function to handle Windows paths:The key to the function is that Cygwin supplies a builtin command
cygpath
for converting Unix-style paths to Windows-style paths.