Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes

Mapping with termwinkey that accepts a v:count

Note regarding the normal version: tabnext +1 doesn't cycle repeated gt will go to each tab until the count is reached There is a convoluted way that directly goes to the n-th next tabpage (and ...
Luc Hermitte's user avatar
  • 17.4k
1 vote
Accepted

Mapping with termwinkey that accepts a v:count

Drawing inspiration from the other answers in performing direct mapping of digits and from the use of getchar, I was able to generalise a technique to provide counts under termwinkey that works for ...
user22476690's user avatar
2 votes

`gt` is not consistent with `gT` (and many other commands) when `{count}` is prepended

Deviating from the behaviour for gT, the above answers won't handle g<Tab> nicely, as it will appear to vim as if one separately asked to go to the next tab page multiple times. Calculating the ...
user22476690's user avatar

Top 50 recent answers are included