> BufReadPost should also work, and won't trigger every time you move the
> cursor into the encrypted file's window/buffer.
I agree, it should work... but neither of these do:
au! BufReadPost * if !empty(&key) | set viminfo= | endif
au! BufRead * if !empty(&key) | set viminfo= | endif
Maybe there's something special about the file being encrypted that makes these not work - a bug, maybe?
--
.
--
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:
Post a Comment