Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpl-opus!steinbac From: steinbac@hpl-opus.HP.COM (Gunter Steinbach) Newsgroups: comp.editors Subject: Re: vi - bug or not? Message-ID: <62420015@hpl-opus.HP.COM> Date: 16 Jul 90 22:15:14 GMT References: <3006@medusa.informatik.uni-erlangen.de> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 18 Yes, it does the same on my HP-UX system. And I suspect that is because "s" is internally mapped to "c ", which does the same thing after all. The same thing happens if you "map w ^F". Try it, and you'll see it doesn't let you do a "cw" anymore. Die Moral von der Geschicht (the moral of the story): Don't map your basic movement commands to something that is not a basic movement command. Which ^F seems not to be because it is regarded internally as a scroll/redraw of the screen rather than a movement. By the same token, you can not do a "c^E" etc. I mapped the escape sequence that my HP keyboard's "next page" key generates to "Lz+", so I can move pages without overlap and without using my little finger. Maybe you can do the same thing on your keyboard. Guenter Steinbach gunter_steinbach@hplabs.hp.com