clipboard: adjust v:register when clipboard=unnamed

Helped-By: Nicolas Hillegeer <nicolas@hillegeer.com>
Helped-By: Michael Reed <m.reed@mykolab.com>
This commit is contained in:
Björn Linse
2015-04-08 21:46:12 +02:00
parent e584fe0057
commit 941b02af4c
3 changed files with 31 additions and 2 deletions

View File

@@ -914,7 +914,7 @@ getcount:
&& !oap->op_type
&& (idx < 0 || !(nv_cmds[idx].cmd_flags & NV_KEEPREG))) {
clearop(oap);
set_reg_var(0);
set_reg_var(get_default_register_name());
}
/* Get the length of mapped chars again after typing a count, second