[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/09: gnu: Add tmux-plugin-resurrect.

From: guix-commits
Subject: 05/09: gnu: Add tmux-plugin-resurrect.
Date: Tue, 13 Dec 2022 08:44:06 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 866eb7fffbb4a011808d8231243c39c4d5e0f004
Author: EuAndreh <>
AuthorDate: Tue Nov 29 21:29:00 2022 -0300

    gnu: Add tmux-plugin-resurrect.
    * gnu/packages/tmux.scm (tmux-plugin-resurrect): New variable.
    Signed-off-by: Christopher Baines <>
 gnu/packages/tmux.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm
index 10b78cccf7..67ce18fea1 100644
--- a/gnu/packages/tmux.scm
+++ b/gnu/packages/tmux.scm
@@ -267,3 +267,53 @@ following features:
 @item Generate command lines from standard input (Pipe mode).
 @end itemize")
     (license license:expat)))
+(define-public tmux-plugin-resurrect
+  (let ((commit "a2ddfb96b94bb64a7a2e3f5fa2a7c57dce8ad579")
+        (revision "0"))
+    (package
+      (name "tmux-plugin-resurrect")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1gc8z99na1d4scn2kq4alwyn43h3r7ykz9bkhcypjh8iri6dsl0c"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder (begin
+                     (use-modules (guix build utils))
+                     (let ((out (string-append %output
+                       (mkdir-p out)
+                       (copy-recursively (assoc-ref %build-inputs "source") 
+      (synopsis "Restore tmux environment after system restart")
+      (description
+       "This plugin goes to great lengths to save and restore all the details
+from your tmux environment.  Here's what's been taken care of:
+@item all sessions, windows, panes and their order
+@item current working directory for each pane
+@item exact pane layouts within windows (even when zoomed)
+@item active and alternative session
+@item active and alternative window for each session
+@item windows with focus
+@item active pane for each window
+@item \"grouped sessions\" (useful feature when using tmux with multiple 
+@item programs running within a pane! More details in the restoring programs 
+@end itemize
+@item restoring vim and neovim sessions
+@item restoring pane contents
+@end itemize")
+      (home-page "";)
+      (license license:expat))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]