From fac5c04ce56ec37600281947c818bda5009b4726 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 13 Nov 2022 16:58:38 -0800 Subject: [PATCH] [oni-core] Remove duplicate entries from history --- oni-core.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oni-core.el b/oni-core.el index 00c347f..179ea2d 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.1113.165518 +;; Version: 2022.1113.165538 ;; 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) ;; This program is free software; you can redistribute it and/or modify @@ -153,6 +153,9 @@ _s_: String list" (setq inhibit-startup-screen t) (setq electric-pair-skip-whitespace 'chomp) (setq fit-window-to-buffer-horizontally t) +;; 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) ;; (setq dashboard-footer-messages ;; '("Play more in order to learn more"