vis

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

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

swap-words.cmd

(67B)


      1 ,x/(Emacs|vi)/{
      2  g/Emacs/ v/....../ c/vi/
      3  g/vi/ v/.../ c/Emacs/
      4 }