From 7482a88ef370c46173a4ed6cd9d333bc85a0f7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 2 Apr 2024 21:05:04 +0200 Subject: [PATCH] feat(zsh): vim edit command line --- configs/zsh.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/zsh.nix b/configs/zsh.nix index 89ea294..f183911 100644 --- a/configs/zsh.nix +++ b/configs/zsh.nix @@ -54,7 +54,7 @@ hash -d nixos=/etc/nixos niveum=${config.users.users.me.home}/projects/niveum - autoload -U zmv run-help + autoload -U zmv run-help edit-command-line fpath=(${zsh-completions}/src $fpath) ''; @@ -99,6 +99,8 @@ zle -N zle-line-init zle -N zle-keymap-select + zle -N edit-command-line + bindkey -M vicmd v edit-command-line ''; }; }