From 5ee161953a899d4026a698d2ee027e32a28e190f Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Wed, 8 May 2024 19:45:01 +0200 Subject: Delete use-package! and add :guix-package keyword instead. --- .emacs.d/jd/jd-apps.el | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to '.emacs.d/jd/jd-apps.el') diff --git a/.emacs.d/jd/jd-apps.el b/.emacs.d/jd/jd-apps.el index a831d8d..f06430b 100755 --- a/.emacs.d/jd/jd-apps.el +++ b/.emacs.d/jd/jd-apps.el @@ -3,37 +3,44 @@ ;;; Code: -(use-package! vterm "emacs-vterm" +(use-package vterm + :guix-package "emacs-vterm" :init (add-to-list 'project-switch-commands '(project-vterm "Vterm") t) - (add-to-list 'project-kill-buffer-conditions '(major-mode . vterm-mode)) + (add-to-list 'project-kill-buffer-conditions + '(major-mode . vterm-mode)) (setq vterm-copy-exclude-prompt t) :config (setq vterm-buffer-name "vterm") ;; (evil-set-initial-state 'vterm-mode 'emacs) - (setq vterm-tramp-shells (append '(("ssh" "/bin/bash")) vterm-tramp-shells)) + (setq vterm-tramp-shells + (append '(("ssh" "/bin/bash")) vterm-tramp-shells)) ) -(use-package! all-the-icons-dired "emacs-all-the-icons-dired" +(use-package all-the-icons-dired + :guix-package "emacs-all-the-icons-dired" :hook (dired-mode . all-the-icons-dired-mode)) -(use-package! dired nil +(use-package dired :ensure nil :commands (dired dired-jump) :custom ((dired-listing-switches "-agho --group-directories-first")) :config (setq dired-kill-when-opening-new-dired-buffer t)) -(use-package! pdf-tools "emacs-pdf-tools") +(use-package pdf-tools + :guix-package + "emacs-pdf-tools") -(use-package! password-store "emacs-password-store" +(use-package password-store + :guix-package "emacs-password-store" :bind ("C-c P p" . password-store-copy) ("C-c P i" . password-store-insert) ("C-c P g" . password-store-generate)) -(use-package! shell nil +(use-package shell :bind ("C-c C-" . shell)) -- cgit v1.2.3