aligrudi / neatvi

A small vi/ex editor for editing UTF-8 text
http://litcave.rudi.ir/
305 stars 25 forks source link

cant backspace existing characters. how do i fix? #52

Closed Un1q32 closed 1 year ago

Un1q32 commented 1 year ago

I've done some googling and it seems like this is standard vi behavior, but the solution given is to run :set backspace=indent,eol,start which fails in neatvi with unknown option. what do i do?

aligrudi commented 1 year ago

OldWorldOrdr @.***> wrote:

I've done some googling and it seems like this is standard vi behavior, but the solution given is to run :set backspace=indent,eol,start which fails in neatvi with unknown option. what do i do?

Many vi users actually rely on this behaviour not to modify the text present before entering the insert mode by mistake. The exception is modifying the the identation of the current line, which can be done with ^d and ^t commands.

About the backspace option of Vim, Neatvi supports only a small set of options; that is the price of simplicity, I think. However, something similar to this, and many other features, are included in Nextvi (https://github.com/kyx0r/nextvi), which is a feature-ful fork of Neatvi.

Ali