Commit 99b70ac46e52

Vincent Demeester <vincent@sbr.pm>
2023-12-13 19:15:53
tools/emacs: add eat from nongnu…
… and also add nongnu elpa to the package list Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 2011362
Changed files (3)
tools
users
vincent
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
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)
 
users/vincent/dev/emacs.nix
@@ -57,6 +57,7 @@ let
     diredfl
     dockerfile-mode
     doom-modeline
+    eat
     easy-kill
     editorconfig
     eldoc-box