1
0
Fork 0

[oni-core] Store clipboard contents into kill ring before replacing

This commit is contained in:
Tom Willemse 2023-08-06 00:19:18 -07:00
parent 867ec0200b
commit 96d0375ce6

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2023.0806.001504
;; Version: 2023.0806.001859
;; 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
@ -156,6 +156,9 @@ _s_: String list"
;; Discovered through
;; https://github.com/novoid/dot-emacs/blob/23c28944f1991c636ea71ec7d5c3d266e6dbeb8a/config.org#deletes-duplicate-entries-of-the-history-of-the-minibuffer
(setq history-delete-duplicates t)
;; Save what's in the clipboard into the kill-ring before killing or copying
;; another string.
(setq save-interprogram-paste-before-kill t)
;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot