Subject: bug#78869: closed ([PATCH] gnu: Add zsh-vi-mode.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 22 Aug 2025 14:58:01 +0000

Your message dated Fri, 22 Aug 2025 17:56:56 +0300
with message-id <aKiFOKnmfDSwLnkx@X1>
and subject line Re: [bug#78869] [PATCH] gnu: Add zsh-vi-mode.
has caused the debbugs.gnu.org bug report #78869,
regarding [PATCH] gnu: Add zsh-vi-mode.
to be marked as done.

(If you believe you have received this mail in error, please contact
[email-masked].)

-- 
78869: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78869
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add zsh-vi-mode.
From: Skylar Hill <[email-masked]>
To: [email-masked]
Cc: Skylar Hill <[email-masked]>
Date: Mon, 23 Jun 2025 06:29:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/shellutils.scm (zsh-vi-mode): New variable.
---
 gnu/packages/shellutils.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 33336e6694..07afa10250 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2024 Artyom V. Poptsov <[email-masked]>
 ;;; Copyright © 2024 Brian Kubisiak <[email-masked]>
 ;;; Copyright © 2024 Jordan Moore <[email-masked]>
+;;; Copyright © 2025 Skylar Hill <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -347,6 +348,30 @@ (define-public zsh-syntax-highlighting
 particularly in catching syntax errors.")
     (license license:bsd-3)))
 
+(define-public zsh-vi-mode
+  (package
+    (name "zsh-vi-mode")
+    (version "0.11.0")
+    (home-page "https://github.com/jeffreytse/zsh-vi-mode")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jeffreytse/zsh-vi-mode")
+             (commit (string-append "v" version))))
+       (sha256
+        "0bs5p6p5846hcgf3rb234yzq87rfjs18gfha9w0y0nf5jif23dy5")))
+    (build-system copy-build-system)
+    (arguments
+     (list
+      #:install-plan
+      #~'(("zsh-vi-mode.zsh" "share/zsh/plugins/zsh-vi-mode/")
+          ("zsh-vi-mode.plugin.zsh" "share/zsh/plugins/zsh-vi-mode/"))))
+    (synopsis "Plugin to improve vi keybindings in zsh")
+    (description "zsh vimkey plugin with more features, which more closely
+matches the standard behavior of vim.")
+    (license license:expat)))
+
 (define-public grml-zsh-config
   (package
     (name "grml-zsh-config")

base-commit: 56344729cd07c76d5133047f2866237bbb08dced
prerequisite-patch-id: 3fec04fa2a12083bb04816507fd9c714478c44bd
prerequisite-patch-id: 3f9fb0f28f0c6784a17c268364446ef507188d84
-- 
2.49.0

Subject: Re: [bug#78869] [PATCH] gnu: Add zsh-vi-mode.
From: Efraim Flashner <[email-masked]>
To: Simon Tournier <[email-masked]>
Cc: [email-masked], Skylar Hill <[email-masked]>
Date: Fri, 22 Aug 2025 17:56:56 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Aug 22, 2025 at 02:03:27PM +0200, Simon Tournier wrote:
> Hi,
> 
> Friendly ping on this patch.
> 
> Sorry Efraim, I CC you because you are the only Vim user I know. ;-)
> 

This seems more like a zsh package than a vim package :)

It seems to follow the layout of the other zsh plugins and otherwise
looks good to me.  Patch pushed!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted