Subject: [bug#40259] [PATCH] gnu: Add emacs-evil-tmux-navigator.

From: John Soo <[email-masked]>
Date: Fri, 27 Mar 2020 14:46:13 -0700

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

>From 318bceb99d436d4e94dab66ffa611340e325683e Mon Sep 17 00:00:00 2001
From: John Soo <[email-masked]>
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