Path: utzoo!attcan!uunet!mcvax!hp4nl!orcenl!bengsig From: bengsig@orcenl.uucp (Bjorn Engsig) Newsgroups: comp.editors Subject: Re: tough bug in vi Summary: use a map! Message-ID: <205.nlunix6@orcenl.uucp> Date: 24 Nov 88 11:21:03 GMT References: <11500001@uxh.cso.uiuc.edu> Organization: ORACLE Europe, The Netherlands Lines: 16 In article <11500001@uxh.cso.uiuc.edu>, phil@uxh.cso.uiuc.edu writes: > > I go into insert mode with "i" and type in some new text. I then backspace > over that text with ^H (backspace). The text is no longer in the buffer > but is still showing on the screen. You can use a map! ^H ^H, where a good choise for key could be DEL, if this is not your interupt. Else find some other key that is available. The map! command is used to change the function of a key in insert mode, and the will provide you with exactly what you want. If you put the map! in your .exrc, remember that you can only enter ^H (and possibly the ) by preceeding it with ^V. -- Bjorn Engsig, ORACLE Europe \ / "Hofstaedter's Law: It always takes ..!uunet!mcvax!orcenl!bengsig X longer than you expect, even if you phone: +31 21 59 56 411 / \ take into account Hofstaedter's Law"