Skip to main content

Timeline for How can I repeat the cgn sequence?

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jun 22, 2020 at 18:50 comment added Nelson Teixeira The only problem is that I was wrong: that version won't work with Vrapper. Only the first one I posted works
Jun 22, 2020 at 18:37 comment added Nelson Teixeira Perfect. Thanks. About "Btw, if <esc> triggers an audible/visual bell", it doesn't but again thanks.
Jun 22, 2020 at 18:31 comment added user938271 Yes, that's more or less the explanation; I updated the answer to give more details.
Jun 22, 2020 at 18:31 history edited user938271 CC BY-SA 4.0
added 921 characters in body
Jun 22, 2020 at 18:15 comment added Nelson Teixeira Thanks :) about the :hs but I already understood the whole line. We discussed your solution in a Telegram group about VIM that I'm in. You used '<esc>' to return to normal mode instead of :normal in order to avoid the substitution of count by a range. Then you included the first dot in order to be able to repeat the operation, but that moves the count value which were in v:count to v:count1, so you have to call repeat on v:count1. Is that it ?
Jun 22, 2020 at 18:08 vote accept Nelson Teixeira
Jun 22, 2020 at 17:12 history answered user938271 CC BY-SA 4.0