meow icon indicating copy to clipboard operation
meow copied to clipboard

Use `Backspace` to delete active region in insert mode

Open rainstormstudio opened this issue 3 weeks ago • 1 comments

I found https://github.com/meow-edit/meow/issues/574 but it was not replied.

Is it possible to use Backspace to delete selected region in insert mode? Shouldn't insert mode respect the default emacs behavior?

rainstormstudio avatar Dec 08 '25 20:12 rainstormstudio

The following is a quick hack; not sure if it's the right way tho.

  (add-hook 'meow-insert-enter-hook (lambda() (setq delete-active-region t)))
  (add-hook 'meow-insert-exit-hook (lambda() (setq delete-active-region nil)))

rainstormstudio avatar Dec 08 '25 21:12 rainstormstudio