Mercurial > vim
changeset 3286:8066fb7e3564 v7.3.411
updated for version 7.3.411
Problem: Pasting in Visual mode using the "" register does not work. (John
Beckett)
Solution: Detect that the write is overwriting the pasted register.
(Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 26 Jan 2012 11:43:09 +0100 |
parents | 484291e1a8da |
children | 37996f355837 |
files | src/normal.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -9329,7 +9329,7 @@ nv_put(cap) # ifdef FEAT_CLIPBOARD adjust_clip_reg(®name); # endif - if (regname == 0 || VIM_ISDIGIT(regname) + if (regname == 0 || regname == '"' || VIM_ISDIGIT(regname) # ifdef FEAT_CLIPBOARD || (clip_unnamed && (regname == '*' || regname == '+')) # endif