* [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator.
@ 2020-03-27 21:46 John Soo
2020-03-28 20:52 ` John Soo
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-27 21:46 UTC (permalink / raw)
To: 40259
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
Hi Guix,
evil-tmux-navigator provides seeemless switching between tmux and emacs
panes with nice evil keybindings. It hasn't seen a commit in a long time
but I think that is because it seems to be very stable.
Thanks,
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add emacs-evil-tmux-navigator. --]
[-- Type: text/x-patch, Size: 1557 bytes --]
From 318bceb99d436d4e94dab66ffa611340e325683e Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 09:27:15 -0700
Subject: [PATCH] gnu: Add emacs-evil-tmux-navigator.
* gnu/packages/emacs-xyz.scm (emacs-evil-tmux-navigator): New Variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b2ee94bc91..5cc3334aab 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21839,3 +21839,29 @@ conventions.")
(synopsis "Flycheck support for the elm language")
(description "Flycheck support for the elm language.")
(license license:gpl2+)))
+
+(define-public emacs-evil-tmux-navigator
+ (package
+ (name "emacs-evil-tmux-navigator")
+ (version "0.1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/keith/evil-tmux-navigator")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1na44rbc03sr5b4z9pvnps6n4nmrqcz58nywix9825l74a419ijx"))))
+ (inputs
+ `(("emacs-evil" ,emacs-evil)))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/keith/evil-tmux-navigator")
+ (synopsis
+ "Navigate seamlessly between emacs windows and tmux panes")
+ (description
+ "Use C-h, C-j, C-k and C-l to navigate between emacs windows and tmux
+panes.")
+ (license license:expat)))
--
2.26.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator
2020-03-27 21:46 [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator John Soo
@ 2020-03-28 20:52 ` John Soo
2020-04-01 8:11 ` bug#40259: " Christopher Baines
0 siblings, 1 reply; 3+ messages in thread
From: John Soo @ 2020-03-28 20:52 UTC (permalink / raw)
To: 40259
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
Hi Guix,
I realized my last patch was based on previous work.
I cherry-picked this one onto master.
Thanks,
John
[-- Attachment #2: add emacs-evil-tmux-navigator. --]
[-- Type: text/x-patch, Size: 1948 bytes --]
>From dfb75bb602bcea6c7a7a59f6b18bf0f0abad0489 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Thu, 19 Mar 2020 09:27:15 -0700
Subject: [PATCH] gnu: Add emacs-evil-tmux-navigator.
* gnu/packages/emacs-xyz.scm (emacs-evil-tmux-navigator): 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 86033fd200..c69af1e4a4 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.
;;;
@@ -21774,3 +21775,29 @@ 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-tmux-navigator
+ (package
+ (name "emacs-evil-tmux-navigator")
+ (version "0.1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/keith/evil-tmux-navigator")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1na44rbc03sr5b4z9pvnps6n4nmrqcz58nywix9825l74a419ijx"))))
+ (inputs
+ `(("emacs-evil" ,emacs-evil)))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/keith/evil-tmux-navigator")
+ (synopsis
+ "Navigate seamlessly between emacs windows and tmux panes")
+ (description
+ "Use C-h, C-j, C-k and C-l to navigate between emacs windows and tmux
+panes.")
+ (license license:expat)))
--
2.26.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#40259: [PATCH] gnu: Add emacs-evil-tmux-navigator
2020-03-28 20:52 ` John Soo
@ 2020-04-01 8:11 ` Christopher Baines
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2020-04-01 8:11 UTC (permalink / raw)
To: John Soo; +Cc: 40259-done
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
John Soo <jsoo1@asu.edu> writes:
> Hi Guix,
>
> I realized my last patch was based on previous work.
>
> I cherry-picked this one onto master.
Hi John,
Thanks for the patch. I've now pushed this as
1d5c93d9f8a13588695490db6516b40f54e91fa2.
I made a few changes, I move the package up from the bottom of the
file. I'd always recommend not adding new packages at the bottom of the
module files, as if everyone does this, it becomes harder to apply
patches because there are more conflicts. In this case, I think this
patch ended up conflicting with your addition of emacs-haskell-snippets,
also to the bottom of the emacs-xyz.scm file.
I also tweaked emacs-evil to be a propagated input, just because that
looked to be what the existing emacs-evil-... packages do, and I tweaked
the description to start with "This package lets you " so it reads as a
complete sentance.
Thanks again,
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-01 8:12 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:46 [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator John Soo
2020-03-28 20:52 ` John Soo
2020-04-01 8:11 ` bug#40259: " Christopher Baines
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).