- Create a copy of your terminfo file (mine is
screen-256color
):
mkdir -p ~/.terminfo && cd ~/.terminfo
infocmp > screen-256color
- Edit the file so that the backspace entry has the value
\177
. The name of the entry was in my casekbs
, but perhaps you'll seekey_backspace
.
- My example:
il=\E[%p1%dL, il1=\E[L, ind=^J, initc@, is2=\E)0, kbs=\177
-
Compile:
tic screen-256color
-
TERMINFO=~/.terminfo/ nvim
works!