Mercurial > vim
changeset 3630:79ae10bd0565 v7.3.575
updated for version 7.3.575
Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller)
Solution: Check for a pending operator.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 29 Jun 2012 13:56:06 +0200 |
parents | c1ade43321bf |
children | 7a4292517a68 |
files | src/normal.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -8393,10 +8393,12 @@ nv_g_cmd(cap) #ifdef FEAT_WINDOWS case 't': - goto_tabpage((int)cap->count0); + if (!checkclearop(oap)) + goto_tabpage((int)cap->count0); break; case 'T': - goto_tabpage(-(int)cap->count1); + if (!checkclearop(oap)) + goto_tabpage(-(int)cap->count1); break; #endif