Ctrl-h does not delete word after re-entering insert mode (vim-binding)

Steps to reproduce

  1. Enable vim-key-binding
  2. Go into insert mode and type something and click on Ctrl-h (still in insert mode) which acts like Backspace. Don’t delete all the characters that you have typed and leave insert mode.
  3. Re-enter insert mode at the end of line, clicking on Ctrl-h does not delete words anymore.

Expected result

I am expecting Ctrl-h to still acting like a Backspace, so I can delete words even after I quit and re-enter insert mode.

Actual result

  • Ctrl-h can only delete words that I typed before leaving the insert mode. Once I re-enter insert mode, I can no longer use Ctrl-h to delete words that I previously typed.


  • Operating system: macOS Big Sur
  • Obsidian version: v0.12.3

Additional information

I don’t recall we ever supporting Ctrl/Cmd-h as backspace. Neither does codemirror by default.
We actually use ctrl/cmd-h for search and replace.