Mercurial > vim
diff src/normal.c @ 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 | 5c1aaf9b4b1b |
children | b9aa7fb4a928 |
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