Sunday, July 31, 2011

Re: Detecting Encrypted File

On 1/08/11 5:46 AM, Paul wrote:
> On Sun, Jul 31, 2011 at 09:51:00PM +0400, ZyX wrote:
>> Try BufWinEnter, BufEnter or such. I don't really know which events are launched
>> after file is decrypted.
>
> Either of those work, thank you.

BufReadPost should also work, and won't trigger every time you move the
cursor into the encrypted file's window/buffer.

Ben.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: