* [bug#40261] [PATCH] gnu: Add emacs-evil-leader.
@ 2020-03-27 21:52 John Soo
2020-03-28 23:24 ` John Soo
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-27 21:52 UTC (permalink / raw)
To: 40261
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
Hi Guix,
Evil leader provides <leader> functionality from vim in evil mode.
Thanks,
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add emacs-evil-leader. --]
[-- Type: text/x-patch, Size: 1640 bytes --]
From 8f508375cde9bce3071bcaa4db57f7a81e600163 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
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 | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index fea4f6dc49..bab7697a9f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21891,3 +21891,30 @@ panes.")
*Ilist* buffer is typically shown as a sidebar (Emacs vertically splits the
window).")
(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{<leader>} 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#40261] [PATCH] gnu: Add emacs-evil-leader.
2020-03-27 21:52 [bug#40261] [PATCH] gnu: Add emacs-evil-leader John Soo
@ 2020-03-28 23:24 ` John Soo
2020-04-01 13:58 ` bug#40261: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-28 23:24 UTC (permalink / raw)
To: 40261
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
Hi Guix,
I realized my patch was based on previous work.
I cherry picked it onto master.
Thanks,
John
[-- Attachment #2: add emacs-evil-leader --]
[-- Type: text/x-patch, Size: 2065 bytes --]
>From 194b5600cc27534b3cc3babfc20018392111c818 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
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 <mike@rohleder.de>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2020 6033fe7de85d <6033fe7de85d@airmail.cc>
+;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
;;;
;;; 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{<leader>} 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#40261: [PATCH] gnu: Add emacs-evil-leader.
2020-03-28 23:24 ` John Soo
@ 2020-04-01 13:58 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-01 13:58 UTC (permalink / raw)
To: John Soo; +Cc: 40261-done
Hello,
John Soo <jsoo1@asu.edu> writes:
> Subject: [PATCH] gnu: Add emacs-evil-leader.
Applied as ec7d4b4de6b2aec68acd9c5b8672295a2b6c78fb. Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-01 14:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-27 21:52 [bug#40261] [PATCH] gnu: Add emacs-evil-leader John Soo
2020-03-28 23:24 ` John Soo
2020-04-01 13:58 ` bug#40261: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).