From bdf632d370cdd8a58f636ffa3456917290f30494 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Fri, 4 Dec 2015 19:20:48 -0500 Subject: [PATCH] Explain X selection problem in Known Issues Closes jamessan/vim-gnupg#36 Signed-off-by: James McCoy --- plugin/gnupg.vim | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index 0f7f3f7..7f685ea 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -1,5 +1,5 @@ " Name: gnupg.vim -" Last Change: 2015 Nov 04 +" Last Change: 2015 Dec 04 " Maintainer: James McCoy " Original Author: Markus Braun " Summary: Vim plugin for transparent editing of gpg encrypted files. @@ -144,6 +144,13 @@ " you will get a popup window the first time you open a file that " needs to be decrypted. " +" If you're using Vim <7.4.959, after the plugin runs any external command, +" Vim will no longer be able to yank to/paste from the X clipboard or +" primary selections. This is caused by a workaround for a different bug +" where Vim no longer recognizes the key codes for keys such as the arrow +" keys after running GnuPG. See the discussion at +" https://github.com/jamessan/vim-gnupg/issues/36 for more details. +" " Credits: {{{2 " " - Mathieu Clabaut for inspirations through his vimspell.vim script.