mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-16 20:10:58 +01:00
added hungry-delete
This commit is contained in:
@@ -284,6 +284,13 @@ in between will be killed. If INS is non-nil, it will be inserted then."
|
|||||||
(add-hook 'fundamental-mode-hook
|
(add-hook 'fundamental-mode-hook
|
||||||
(lambda () (electric-indent-local-mode -1)))
|
(lambda () (electric-indent-local-mode -1)))
|
||||||
|
|
||||||
|
(use-package hungry-delete
|
||||||
|
:config
|
||||||
|
(global-hungry-delete-mode)
|
||||||
|
(setq hungry-delete-join-reluctantly t)
|
||||||
|
;; I use 'backward-delete-char, so I've got to remap it as well
|
||||||
|
(if (fboundp 'backward-delete-char)
|
||||||
|
(define-key hungry-delete-mode-map [remap backward-delete-char] 'hungry-delete-backward)))
|
||||||
|
|
||||||
(provide 'init-textmanipulation)
|
(provide 'init-textmanipulation)
|
||||||
;;; init-textmanipulation.el ends here
|
;;; init-textmanipulation.el ends here
|
||||||
|
|||||||
Reference in New Issue
Block a user