From ada0cc1e7c175a2689a4f4f90021d775a6e31a6f Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 25 Mar 2024 12:52:06 -0400 Subject: [PATCH] zsh: add vi-mode --- home/zsh.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/zsh.nix b/home/zsh.nix index 258d636..16a2eaf 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -5,6 +5,13 @@ enable = true; autosuggestion.enable = true; syntaxHighlighting.enable = true; + plugins = [ + { + name = "vi-mode"; + src = pkgs.zsh-vi-mode; + file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh"; + } + ]; # This must be envExtra (rather than initExtra), because doom-emacs requires it # https://github.com/doomemacs/doomemacs/issues/687#issuecomment-409889275