Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.bugs.sys5 Subject: Re: vi `ei:' (`modeline') Message-ID: <5060002@hpsal2.HP.COM> Date: 11 Oct 88 06:09:47 GMT References: <13905@mimsy.UUCP> Organization: HP System Architecture Lab, Cupertino Lines: 23 / hpsal2:comp.bugs.sys5 / bak@csd-v.UUCP (Bruce A. Kern) / 7:36 pm Oct 8, 1988 / editing the following file: 0 ex:% s/0/abc/ 1 2 3 4 ex:% s/0/abc/ produces nothing interesting. ---------- You need to follow the command with another ":". Also, the space seems to confuse my vi. Try the following: 0 ex:%s/0/abc/: 1 2 3 4