From 03f52f1da6a41529982482442360c9378211b4ce Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 2 Nov 2023 23:27:53 -0700 Subject: 50569: missed file from commit f36fccbb --- README | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'README') diff --git a/README b/README index 692c3fefb..8c11e6833 100644 --- a/README +++ b/README @@ -34,6 +34,24 @@ details, see the documentation. Incompatibilities since 5.9 --------------------------- +The line editor's default keymap is now the "emacs" keymap regardless of the +value of the environment variables $VISUAL and $EDITOR. This only affects you +if your $VISUAL or $EDITOR environment variable is set to a value that +contains the string "vi". To get the previous behaviour, add + + bindkey -v + +or, if your $VISUAL and $EDITOR environment variables vary, + + if [[ ${VISUAL} == *vi* || ${EDITOR} == *vi* ]]; then + bindkey -v + else + bindkey -e + fi + +to your .zshrc file. These snippets are compatible with previous +versions of the shell. + The ERR_EXIT and ERR_RETURN options were refined to be more self- consistent and better aligned with the POSIX-2017 specification of `set -e`: -- cgit 1.4.1