Add undo limit

This commit is contained in:
Riyyi
2020-07-26 01:37:11 +02:00
parent 6ae9ec555a
commit ffbd4877be
+5
View File
@@ -543,6 +543,11 @@ https://github.com/laishulu/hl-fill-column
;; End sentences with a single space ;; End sentences with a single space
(setq sentence-end-double-space nil) (setq sentence-end-double-space nil)
;; Set undo limit, measured in bytes
(setq-default undo-limit 400000)
(setq-default undo-strong-limit 3000000)
(setq-default undo-outer-limit 12000000)
;; Enable line numbers ;; Enable line numbers
(global-display-line-numbers-mode) (global-display-line-numbers-mode)