Potential bug: vim search mode would leak delete key

As suggested in the title, I find this potential bug, and it is easy to reproduce on my side

  1. enable vim mode
  2. type / to enter search mode
  3. enter random characters and then backspace to simulate a deletion

Expected behavior: the character in search should be delete

Current behavior: the searched content is not deleted, rather the character under the cursor is deleted.

SB Version: 0.8.1

It would be nice if I can get several confirmations, then I will file a bug report on GitHub

Yup, looks like a bug. I can reproduce the same on the latest commit of SB (1635c417).