home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 99b70ac46e52de5b816837c7910ea85be31fce5c
parent 20113621cebf90538a83f94cd904cf9c113e6119
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 13 Dec 2023 19:15:53 +0100

tools/emacs: add eat from nongnu…

… and also add nongnu elpa to the package list

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-shells.el | 6++++++
Mtools/emacs/init.el | 10++++++----
Musers/vincent/dev/emacs.nix | 1+
3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/tools/emacs/config/config-shells.el b/tools/emacs/config/config-shells.el @@ -258,6 +258,12 @@ using either KUBECONFIG or ~/.kube/config" (epe-colorize-with-face (if (= (user-uid) 0) "#" "") 'epe-sudo-symbol-face) " "))) +(use-package eat + :init (setq eat-kill-buffer-on-exit t + eat-enable-yank-to-terminal t) + :hook ((eshell-mode . eat-eshell-mode) + (eshell-mode . eat-eshell-visual-command-mode))) + (use-package xterm-color :after eshell :init diff --git a/tools/emacs/init.el b/tools/emacs/init.el @@ -63,12 +63,14 @@ (setq package-archives '(("melpa" . "http://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/") - ("gnu" . "https://elpa.gnu.org/packages/"))) + ("gnu" . "https://elpa.gnu.org/packages/") + ("nongnu" . "https://elpa.nongnu.org/nongnu/"))) (setq package-archive-priorities - '(("melpa" . 3) - ("org" . 2) - ("gnu" . 1))) + '(("melpa" . 4) + ("org" . 3) + ("gnu" . 2) + ("non-gnu" . 1))) (require 'tls) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -57,6 +57,7 @@ let diredfl dockerfile-mode doom-modeline + eat easy-kill editorconfig eldoc-box