Closed roife closed 1 year ago
Sorry for the late response.
A simple fix is:
(defun my-backspace ()
(interactive)
(if (looking-back (rx line-start (+ blank)))
(delete-region (line-beginning-position) (point))
(puni-backward-delete-char)))
then bind it to DEL
.
backward-delete-char-untabify
is a useful built-in command for deleting indentations quickly. Here's an example (setting(setq backward-delete-char-untabify-method 'hungry)
):when I press
backspace
, it changes toIt does not work with
puni
. SinceDEL
is bond withpuni-backward-delete-char
, how can I delete indentations quickly?