Backspace no longer works with current patchlevel

26 views
Skip to first unread message

Zdenek Dohnal

unread,
Dec 16, 2019, 7:34:02 AM12/16/19
to vim_dev
Hi,

I was testing the newest Vim and found out backspace key is no longer working as it worked before.

Now when I have a file and try in INSERT MODE:

Hello
world
backspace
does<---- try to press backspace key, but no char is deleted :(
not
work

Version 8.2, patchlevel 12, ran with -u NONE -U NONE -i NONE -N.

Would you mind looking into it?

Christian Brabandt

unread,
Dec 16, 2019, 7:40:28 AM12/16/19
to vim_dev
What is your backspace setting?


Best,
Christian
--
Wie man sein Kind nicht nennen sollte:
Tom Bola

Zdenek Dohnal

unread,
Dec 16, 2019, 9:51:55 AM12/16/19
to vim_dev
It is not set, probably due running Vim with '-u NONE -U NONE -i NONE -N'. It works correctly when you run Vim usual way.

I'm sorry for the noise.

Igor

unread,
Dec 16, 2019, 9:54:00 AM12/16/19
to vim_dev
I also see some weird behavior.

Reproduce:
1. Downloaded the latest master source code (8.2.00012 at the moment) and compile it on Ubuntu 16.04.
2. Start vim: vim -u NONE -U NONE -N -i NONE
3. Type in i to get into insert mode.
4. Type some text e.g. hello world
5. Press backspace. It works fine. It deletes the text.
6. Press <Esc> key.
7. Press A key to jump to end of line in insert mode.
8. Press backspace key and it does not work any more. Actually nothing happens.

It is interesting that everything works fine using: vim --clean

I also downloaded 8.1.2339 and compiled and the behaviour is the same.
It looks to me there is something special in:
vim -u NONE -U NONE -N -i NONE
compared to:
vim --clean

But it looks like setting (I have this in my .vimrc):
:set backspace=indent,eol,start
fixes all of this problems.

vim_insert.png
Reply all
Reply to author
Forward
0 new messages