diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-11-02 23:27:53 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-11-02 23:27:53 -0700 |
commit | 03f52f1da6a41529982482442360c9378211b4ce (patch) | |
tree | 0f4d0daf42c7f27552a3387560b5d4d8a06fb965 /README | |
parent | 364ecf7099c3441be1e138a432617b64c207f519 (diff) | |
download | zsh-03f52f1da6a41529982482442360c9378211b4ce.tar.gz zsh-03f52f1da6a41529982482442360c9378211b4ce.tar.xz zsh-03f52f1da6a41529982482442360c9378211b4ce.zip |
50569: missed file from commit f36fccbb
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
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`: |