summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Draidi <a.r.draidi@redscript.org>2023-07-21 18:44:42 +0400
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-07-30 07:51:44 +0200
commitb7132c76c37f61d2773703b2e0b3ce95cb2f3852 (patch)
tree4920d21436d265b9cee2080bb0088ac3a28b5017
parent7c89bdec9ac33debb11ac55be1f29dd5626f659f (diff)
gnu: Add emacs-dired-preview.
* gnu/packages/emacs-xyz.scm (emacs-dired-preview): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 899ebaea3d..9b61783a58 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27283,6 +27283,30 @@ recursive size is not obtained. Once this mode is enabled, every new Dired
buffer displays recursive dir sizes.")
(license license:gpl3+)))
+(define-public emacs-dired-preview
+ (package
+ (name "emacs-dired-preview")
+ (version "0.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~protesilaos/dired-preview")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0d485812k1rv0qrw4xvzv4z3qf370apsajnf4q3pjk3q0r1fpm8b"))))
+ (build-system emacs-build-system)
+ (home-page "https://protesilaos.com/emacs/dired-preview")
+ (synopsis "Automatically preview file at point in Dired")
+ (description
+ "This is a simple package to automatically preview in a side window the
+file at point in Dired buffers. Preview windows are closed when they are no
+longer relevant, while preview buffers are killed if they have not been used
+for other purposes beside previewing. The package provides several
+customisation options to control its behaviour.")
+ (license license:gpl3+)))
+
(define-public emacs-dired-rsync
(package
(name "emacs-dired-rsync")