4 ms·
> Memory is fallible after so much time but I think he told me later that he wouldn't keep using it because he was so used to vi. Now I'm wondering if there's
by Izkata 4y ago
> Memory is fallible after so much time but I think he told me later that he wouldn't keep using it because he was so used to vi.
Now I'm wondering if there's a length limit to vim macros...
- an_ko 4y agoIf you mean recorded commands, those are stored in registers, which from a quick look at the source [1] seem to just contain strings. So I would imagine their length is only bounded by memory. So I suppose you could just qq, write your entire thing, then "qp to get the whole history. I wonder if there's a tool that replays commands in slow motion, or some neat way to add sleeps to a command sequence. [1]: https://github.com/vim/vim/blob/master/src/register.c https://github.com/vim/vim/blob/master/src/register.c
- remram 4y agoI wonder if you could abuse script(1) to record your input rather than program output?