vis

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

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

comment-functions.cmd

(62B)


      1 x/^static/+- g/ int / .,+/^\}/ {
      2  i,#if 0\n,
      3  a,\n#endif\n,
      4 }