[PATCH] gnu: Add zsh-vi-mode.

  • Done
  • quality assurance status badge
Details
3 participants
  • Efraim Flashner
  • Skylar Hill
  • Simon Tournier
Owner
unassigned
Submitted by
Skylar Hill
Severity
normal

Debbugs page

S
S
Skylar Hill wrote on 22 Jun 23:29 -0700
(address . guix-patches@gnu.org)(name . Skylar Hill)(address . stellarskylark@posteo.net)
b524dc56de7cc69915dd18f2d16a4fd90ef8ebf5.1750660160.git.stellarskylark@posteo.net
* gnu/packages/shellutils.scm (zsh-vi-mode): New variable.
---
gnu/packages/shellutils.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (49 lines)
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@gmail.com>
;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com>
;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
+;;; Copyright © 2025 Skylar Hill <stellarskylark@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
S
S
Simon Tournier wrote on 22 Aug 05:03 -0700
87ms7ry35c.fsf@gmail.com
Hi,

Friendly ping on this patch.

Sorry Efraim, I CC you because you are the only Vim user I know. ;-)


On Mon, 23 Jun 2025 at 06:29, Skylar Hill <stellarskylark@posteo.net> wrote:

Toggle quote (55 lines)
> * 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@gmail.com>
> ;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com>
> ;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
> +;;; Copyright © 2025 Skylar Hill <stellarskylark@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

Cheers,
simon
E
E
Efraim Flashner wrote on 22 Aug 07:56 -0700
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)
aKiFOKnmfDSwLnkx@X1
On Fri, Aug 22, 2025 at 02:03:27PM +0200, Simon Tournier wrote:
Toggle quote (7 lines)
> 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 <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmiohTgACgkQQarn3Mo9
g1GfjBAAopXtdocnISIhFTdFdVpkrCuuIXD+9MWbAJYJLBQcuqVrZEW5L3sPpYGr
uSM8VfLNWbqRIUTAV57w9S4VeQJux9eXPiAKsbZELg75zo8iAZcs5wocOIGO+2a6
xGHcDcKV9Fzuqbh1tL3URScWiNMGJC3k89sMXTlvhIKNwXRK2xBlzRhXKpjA0uw5
bUvMlgOS12IrZcQPxgB3ymKAkscohOiWX3+9/jvywgBbndkP32Jk8Y/Ku2Pm05bU
h9hcYngM1eZyaadgelW7aioY/x7jEK+A4GRspTSuw732BD1gKQzT7hnTEwDVUu/V
OOIztba8RCt/5uXlN9unI5d6FfGbHzvrqvR1hYq2W7EuTnpWa1TAAJcVaY4TjLDV
RnMUzLmTc7PC3t6vN9aQTPz0qnBTZ0EqeLCNvsq6CZwR0MHcZmLu64/1sOKY5cri
IwvJC3oMsao2Uqrv/c2vZgPjqWWCygUyNt40rnpce2Mt3VRX1WdnGsX1vsPN1y/C
l5MQoWHuN4Ne0Cgv7tWQAOOyymVXmN5tROE7fYkjV+dGu3y7G0/nc87oK/Hu+u3w
QMcIWGzibVmjCxdMglWOlgjqOkyZrwjR1cM3PR3FanjUAzRuzAKZVYW7U71bB4/P
0u55yeDMZz3TOxYsYKX1rZ+r47TyW9usCxPVwAQr5bP6BfqsQBk=
=Ne3e
-----END PGP SIGNATURE-----


Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 78869@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 78869
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch