From 2f4e4b0b317dd4c864d997ee080b9d51f1692d8a Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 4 Apr 2023 04:58:13 +0200 Subject: changed incorrect syntax for mapping new escape keys --- vi-mode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vi-mode.sh b/vi-mode.sh index d7f4e4f..7e94689 100644 --- a/vi-mode.sh +++ b/vi-mode.sh @@ -54,7 +54,7 @@ if [[ -n "$ZSH_VERSION" ]]; then bindkey -M menuselect 'l' vi-forward-char # Map 'jk' to Escape key in INSERT mode - bindkey -M insert 'jk' vi-cmd-mode + bindkey -M viins 'jk' vi-cmd-mode # Set vi-mode and key bindings for bash elif [[ -n "$BASH_VERSION" ]]; then -- cgit v1.2.3