GNU bug report logs - #78869
[PATCH] gnu: Add zsh-vi-mode.

Previous Next

Package: guix-patches;

Reported by: Skylar Hill <stellarskylark <at> posteo.net>

Date: Mon, 23 Jun 2025 06:32:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Skylar Hill <stellarskylark <at> posteo.net>
To: 78869 <at> debbugs.gnu.org
Cc: Skylar Hill <stellarskylark <at> posteo.net>
Subject: [bug#78869] [PATCH] gnu: Add zsh-vi-mode.
Date: Mon, 23 Jun 2025 06:29:20 +0000
* 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 <poptsov.artyom <at> gmail.com>
 ;;; Copyright © 2024 Brian Kubisiak <brian <at> kubisiak.com>
 ;;; Copyright © 2024 Jordan Moore <lockbox <at> struct.foo>
+;;; Copyright © 2025 Skylar Hill <stellarskylark <at> posteo.net>
 ;;;
 ;;; 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





This bug report was last modified 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.