1
0
Fork 0

Set up space cycling

Remove newlines along with the rest of the whitespace.
This commit is contained in:
Tom Willemse 2024-10-24 00:30:20 -07:00
parent 2183877638
commit e26750e302

View file

@ -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