meow
meow copied to clipboard
Use `Backspace` to delete active region in insert mode
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?
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)))