On 16/07/09 16:09, Kevin Dillman wrote:
> I have an intermittent problem when using :X to encrypt a file.  The
> encryption works well and the file writes correctly.
> On certain files (only ascii and not on all encrypted files) when I
> initially edit the file Gvim will not display the prompt for the password.
> If I type the password without the prompt the file will open correctly.
> Am I missing something with the prompt?
> Version 7.2.
> Thanks,
> Kevin

According to the help (maybe a page or two below ":help encryption"), if 
you want to start editing an existing encrypted file, make sure that the 
key is either empty (":set key=") in which case Vim will prompt when 
opening the file, or set to the right key for the new file (e.g. because 
you're already editing with the same key).


Best regards,
Tony.
-- 
First, a few words about tools.

Basically, a tool is an object that enables you to take advantage of
the laws of physics and mechanics in such a way that you can seriously
injure yourself.  Today, people tend to take tools for granted.  If
you're ever walking down the street and you notice some people who look
particularly smug, the odds are that they are taking tools for
granted.  If I were you, I'd walk right up and smack them in the face.
                -- Dave Barry, "The Taming of the Screw"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to