aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--oni-core.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el
index a8e993c..c3d78b0 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2024.0205.222004
+;; Version: 2024.1014.135848
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify
@@ -528,5 +528,11 @@ which normally have their errors suppressed."
(lambda (d) (string-match-p (rx "/" (or "." ".." "foreign") eos) d))
(directory-files "~/projects/" t))))
+;;; Space cycling
+
+;; The ‘-’ argument to each function makes sure that any newlines are also
+;; removed along with the other whitespace.
+(setq cycle-spacing-actions '((just-one-space -) (delete-all-space -) restore))
+
(provide 'oni-core)
;;; oni-core.el ends here