Either invoke or perform backspace from lua?

Working on an emacs-doom-like find_files telescope finder. One feature I’m trying to work on is backspace once in 200ms: Normal, twice in 200ms: Go to parent dir.

Telescope puts the search buffer in insert mode, I’ve mapped a binding for <BS>, and while I can trigger the binding, I’m unsure how to forward along or invoke the original backspace binding.

  • Looked in help
  • Ran imap
  • Looked at autopair plugins too since they usually overwrite backspace and fallback to regular backspace if there’s no pair.
  • Looked for similar topics here
  • Even tried chatgpt but the answer didn’t work