about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el13
1 files changed, 12 insertions, 1 deletions
diff --git a/init.el b/init.el index ab74e0b..0a5a4fa 100644 --- a/init.el +++ b/init.el
@@ -2164,6 +2164,7 @@ See also `crux-reopen-as-root-mode'."
2164 (:option trashed-action-confirmer #'y-or-n-p)) 2164 (:option trashed-action-confirmer #'y-or-n-p))
2165 2165
2166(setup (:straight undo-fu) 2166(setup (:straight undo-fu)
2167 (:option undo-fu-allow-undo-in-region t)
2167 (:global "C-/" #'undo-fu-only-undo 2168 (:global "C-/" #'undo-fu-only-undo
2168 "C-?" #'undo-fu-only-redo)) 2169 "C-?" #'undo-fu-only-redo))
2169 2170
@@ -2171,9 +2172,19 @@ See also `crux-reopen-as-root-mode'."
2171 (:option undo-fu-session-incompatible-files '("/COMMIT_EDITMSG\\'" 2172 (:option undo-fu-session-incompatible-files '("/COMMIT_EDITMSG\\'"
2172 "/git-rebase-todo\\'") 2173 "/git-rebase-todo\\'")
2173 undo-fu-session-directory (.etc "undo/" t) 2174 undo-fu-session-directory (.etc "undo/" t)
2174 undo-fu-session-compression (executable-find "gzip")) 2175 undo-fu-session-compression (cond
2176 ((executable-find "gzip") 'gz)
2177 ((executable-find "bzip2") 'bz2)
2178 ((executable-find "xz") 'xz)
2179 (t nil)))
2175 (global-undo-fu-session-mode +1)) 2180 (global-undo-fu-session-mode +1))
2176 2181
2182(setup (:straight (undo-hl
2183 :host github
2184 :repo "casouri/undo-hl"))
2185 (:require)
2186 (:hook-into text-mode prog-mode))
2187
2177(setup (:straight unfill)) 2188(setup (:straight unfill))
2178 2189
2179(setup (:straight valign) 2190(setup (:straight valign)