vim-gnupg icon indicating copy to clipboard operation
vim-gnupg copied to clipboard

Missing first 2 symbols on line 2 after opening file

Open powerman opened this issue 5 years ago • 3 comments

I had to add this to vimrc as a workaround, but it probably should be fixed in plugin.

autocmd User GnuPG call timer_start(1, 'FixRedraw', {})
func FixRedraw(timer)
        redraw!
endfunc

powerman avatar Feb 09 '20 22:02 powerman

I also get this. This behaviour happens only when .vimrc contains 'set background=dark'.

As I noticed this after upgrading from a very old version of vim-gnupg, I bisected the git commits and found that the missing 2 characters start to occur in commit 380f05d2e956f37a6d992c2da20b05e052620053 . There's nothing obvious in this commit to me, so this could also be a vim bug.

tpikonen avatar Nov 24 '20 21:11 tpikonen

Hmm. I also have 'set background=dark'.

powerman avatar Nov 24 '20 21:11 powerman

Having the same trouble.

Ubuntu 20.04.2 LTS Vim 8.1

Doesn't matter what my background is set to. The workaround in the first post does seem to work but that seems "hacky."

EDIT: I also wanted to mention the fact that the first two "symbols" on line 2 are not actually missing. They are just hidden. If you yank that line and paste it below, the copy will display the characters/symbols.

chey avatar Mar 02 '21 15:03 chey