aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjgart via Guix-patches via <guix-patches@gnu.org>2022-06-03 14:21:34 -0500
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:10 +0200
commit95621076641b5d51a2c6ca4ed670a509506b17e5 (patch)
tree632c3105416c0a71474a4f680c01add4b8136be2 /gnu
parenta07bdc73355a69b8be404ed307bfc9dc08dfe755 (diff)
downloadguix-95621076641b5d51a2c6ca4ed670a509506b17e5.tar
guix-95621076641b5d51a2c6ca4ed670a509506b17e5.tar.gz
gnu: Add emacs-bind-map.
* gnu/packages/emacs-xyz.scm (emacs-bind-map): New variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4adb1700df..4e83b3fcba 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30413,6 +30413,32 @@ built-in generator package. It provides @code{iter2-defun} and
original package.")
(license license:gpl3+)))
+(define-public emacs-bind-map
+ (let ((commit "510a24138d8de3b8df0783f1ac493a551fc9bd74")
+ (revision "0"))
+ (package
+ (name "emacs-bind-map")
+ (version (git-version "1.1.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/justbur/emacs-bind-map")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0crxjy1ykgb429z8ikjv5iy8vg5i0qn8n86p2lgri4glx45sxxx0"))))
+ (build-system emacs-build-system)
+ (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
+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-promise
(package
(name "emacs-promise")