summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSkylar Hill <stellarskylark@posteo.net>2025-06-23 06:29:20 +0000
committerEfraim Flashner <efraim@flashner.co.il>2025-08-22 17:50:35 +0300
commit735b6dd02db2534e4f5a41d6142c3508f02cbf85 (patch)
tree92269e3d94624f63b2c0ba5c1f12d49cc20b87c0 /gnu
parenta6963d6d43c19390b137287223aed87dee9aedff (diff)
gnu: Add zsh-vi-mode.
* gnu/packages/shellutils.scm (zsh-vi-mode): New variable. Change-Id: I0b60fdf53282f8d9a1227c12e779f95c6edc023e Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/shellutils.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 766e9068f8c..9869d45e3a3 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com>
;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
+;;; Copyright © 2025 Skylar Hill <stellarskylark@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -344,6 +345,31 @@ interactive terminal. This helps in reviewing commands before running them,
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))))
+ (file-name (git-file-name name 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 "This package provides a 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")