diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-12-19 16:52:38 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-12-19 16:52:38 -0800 |
commit | 597ffd85edd17c67813c9a4685fde93aaad0cdc6 (patch) | |
tree | 5f2d466ade0fc004e6950bf3926fcd37f00140f3 | |
parent | c3ea3ffa730037714fd1bb23b6fc1174b379368f (diff) | |
download | zsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.tar.gz zsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.tar.xz zsh-597ffd85edd17c67813c9a4685fde93aaad0cdc6.zip |
users/21068: use emacs keymap in vared by default
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Newuser/zsh-newuser-install | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 26add1966..6aa238599 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-12-19 Barton E. Schaefer <schaefer@zsh.org> + + * users/21068: Functions/Newuser/zsh-newuser-install: use emacs + keymap in vared by default (less surprising than vi modes) + 2015-12-19 Mikael Magnusson <mikachu@gmail.com> * 36650: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: Add diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install index 37c60293a..e4028fd50 100644 --- a/Functions/Newuser/zsh-newuser-install +++ b/Functions/Newuser/zsh-newuser-install @@ -512,7 +512,7 @@ $default_options[$match[2]]) fi print -r "Edit a value. If it is left blank, nothing will be saved:" edval=$match[2] - if vared -p "$match[1]> " -h edval; then + if vared -M emacs -p "$match[1]> " -h edval; then # check this assignment doesn't produce multiple words # e.g. "HISTFILE=never rm -f ~" does produce multiple words... # this isn't perfect, e.g. "(this would get split on assignment)", |