martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.27k stars 261 forks source link

`:X` and `:Y` are interchanged #820

Closed ckafi closed 4 years ago

ckafi commented 4 years ago

According to VIS(1) these commands should run a given command on files with matching (:X) or non-matching (:Y) file names. Currently these commands do the exact opposite:

If you had the files foo, bar and baz opened, :X/bar/ a/xxx/ adds xxx to foo and baz, but not to bar; and :Y/bar/ a/yyy/ adds yyy only to bar.