<div dir="ltr">I don't know of one, but see no reason the machinery in (say) X.A.CycleWindows couldn't be extended to do so. It'd be easier if held to single digits, though.<div><br></div><div>General numeric argument as in emacs is harder, since the only automatic parameter to commands is the focused window and even that is only for mouse actions; there's nowhere to stick it except ExtensibleState for other commands. Hypothetically a wrapper could repeat a command based on said state, but that's not necessarily how you want to handle the parameter in all cases (consider the question of whether the repeats start from the original state or the final one, when the command changes e.g. focused window; and worse when the focused window change happens only later such that you can't really do something based on it).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 22, 2019 at 11:43 PM Ruben Astudillo <<a href="mailto:ruben.astud@gmail.com">ruben.astud@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear all<br>
<br>
On Emacs you can pass certain functions an interactive argument via the<br>
C-u chord. For example you can press C-u 5 C-n to move 5 lines down the<br>
buffer. Sometimes I've wanted this functionality on XMonad, for example<br>
to be able to do stuff like `C-u 3 modm-m` to move to the third window<br>
counted from the main window if it exists. I wonder if somebody know if<br>
that's implemented as a module.<br>
<br>
-- <br>
-- Ruben<br>
-- PGP: 4EE9 28F7 932E F4AD<br>
<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>