>From 194b5600cc27534b3cc3babfc20018392111c818 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Mar 2020 09:42:01 -0700 Subject: [PATCH] gnu: Add emacs-evil-leader. * gnu/packages/emacs-xyz.scm (emacs-evil-leader): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9d40b8019e..8f4e3f11ce 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -65,6 +65,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright © 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -21776,3 +21777,30 @@ enables modal editing and composition of commands, too. It combines ideas of other Editors like Vim or Kakoune and tries to align them with regular Emacs conventions.") (license license:gpl3+))) + +(define-public emacs-evil-leader + (package + (name "emacs-evil-leader") + (version "0.4.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/cofi/evil-leader") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k2zinchs0jjllp8zkpggckyy63dkyi5yig3p46vh4w45jdzysk5")))) + (inputs + `(("emacs-evil" ,emacs-evil))) + (build-system emacs-build-system) + (home-page "https://github.com/cofi/evil-leader") + (synopsis "Provides the leader feature from Vim") + (description + "Evil Leader provides the @code{} feature from Vim that provides +an easy way to bind keys under a variable prefix key. For an experienced +Emacs User it is nothing more than a convoluted key map, but for a Evil user +coming from Vim it means an easier start.") + (license license:gpl3+))) -- 2.26.0