guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: Add emacs-spaceleader.


From: guix-commits
Subject: 03/03: gnu: Add emacs-spaceleader.
Date: Sat, 4 Jun 2022 17:59:21 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit bbe6709ccc41a9c49980aa32459069bc06123a12
Author: jgart via Guix-patches via <guix-patches@gnu.org>
AuthorDate: Fri Jun 3 14:21:35 2022 -0500

    gnu: Add emacs-spaceleader.
    
    * gnu/packages/emacs-xyz.scm (emacs-spaceleader): New variable.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 gnu/packages/emacs-xyz.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4e83b3fcba..d734831f19 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30432,13 +30432,43 @@ original package.")
       (home-page "https://github.com/justbur/emacs-bind-map";)
       (synopsis "Bind personal keymaps in multiple locations")
       (description
-"@code{emacs-bind-map} provides a macro bind-map which can be used to
+       "@code{emacs-bind-map} provides a macro bind-map which can be used to
 make a keymap available across different leader keys including ones
 tied to evil states.  It is essentially a generalization of the idea
 of a leader key as used in Vim or the @code{emacs-evil-leader} package,
 and allows for an arbitrary number of leader keys.")
       (license license:gpl3+))))
 
+(define-public emacs-spaceleader
+  (let ((commit "35368b03c094399c487cce93ab5b7ac725bd04f5")
+        (revision "0"))
+    (package
+      (name "emacs-spaceleader")
+      (version (git-version "0.0.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mohkale/spaceleader";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1lg51y59z6igqjw3vgyjc5zw32j11xhzw8y0svlx3ry415b0lnls"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       (list emacs-dash
+             emacs-general
+             emacs-which-key
+             emacs-use-package
+             emacs-bind-map))
+      (home-page "https://github.com/mohkale/spaceleader";)
+      (synopsis "Emacs leader key implementation from Spacemacs")
+      (description
+       "@code{emacs-spaceleader} replicates spacemacs' leader key features,
+without requiring all of spacemacs.  The @code{<Leader>} key, inspired by Vim,
+provides an easy way to bind keys under a configurable prefix key")
+      (license license:gpl3+))))
+
 (define-public emacs-promise
   (package
     (name "emacs-promise")



reply via email to

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