BETA4 Vi backspace behavior

Giorgos Keramidas keramida at linux.gr
Tue Sep 21 04:20:26 PDT 2004


On 2004-09-21 06:40, Mike B <meb at cinci.rr.com> wrote:
> Jeremy Chadwick wrote:
> >Do things work properly in vim (preferrably ports/editors/vim-lite) but
> >not native /usr/bin/vi, or are they generally horked all around?
>
> You all are right about the behavior of vi, but the backspace in vim is
> definitely broken. I've tried using the :fixdel command and also
> remapping the key with :map but the result is always the same. Perhaps
> this is a bug or incompatability that has arisen in vim; every other
> text editor seems to work flawlessly. Thanks

Make sure you're not running vim in `compatible' mode.  When this mode
is enabled, then vim behaves like nvi too every time backspace is hit
(i.e. it moves the cursor backwards but doesn't erase the characters
underneath the cursor as it moves).

- Giorgos



More information about the freebsd-current mailing list