vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

1.keys

(316B)


      1 qq              /* start macro recording */
      2 *               /* search word under cursor */
      3 dd              /* delete line */
      4 N               /* repeat search */
      5 P               /* put before */
      6 2j              /* 2 lines down */
      7 q               /* stop macro recording */
      8 11@q            /* repeat macro 11 times */