6

When I start vim from inside conEmu, then backspace is not working properly. I know its not a conEmu issue. It's a vim problem with console. I tried all things like

stty erase ^H, stty erase '^?', set bs=2 etc.,

I have also tried the advice at Backspace key not working in vim

but none of this worked!

Any advice for solving this.

Vivek Kumar
  • 505
  • 2
  • 5
  • 11
  • Which OS? Does it work if you use something else than conEmu? What does control-h do if you try it? – Hennes Feb 23 '13 at 15:48
  • Microsoft Windows7. If I press Ctrl+H then it delete a character. And I am getting the same issue from inside cmd.exe. But I use conEmu that why I have specifically mentioned it. – Vivek Kumar Feb 23 '13 at 16:12
  • I suppose, this may be a bug in ConEmu ANSI sequences processor. – Maximus Feb 23 '13 at 22:17
  • comEmu is perfect It is not having this bug. As this problem happens in cmd.exe also. – Vivek Kumar Feb 24 '13 at 09:09

1 Answers1

3

I fixed the backspace problem I had with ConEmu in the terminal vim (backspace registered as delete) by adding the following lines to my .vimrc file (or _vimrc):

inoremap <Char-0x07F> <BS> nnoremap <Char-0x07F> <BS>

See https://github.com/Maximus5/ConEmu/issues/641.

joon
  • 589
  • 2
  • 7
  • 19