Set up space cycling
Remove newlines along with the rest of the whitespace.
This commit is contained in:
parent
2183877638
commit
e26750e302
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue