The zsh manual says the viins mode is automatically turned on if the EDITOR 
environment variable contains anything linke 'vi'.
http://zsh.sourceforge.net/Doc/Release/zsh_17.html#SEC92

The additional ubuntu keybindings cause a lot of trouble if someone
exports EDITOR=vim in .zshrc and starts an other zsh instance via sudo
-s oder screen. The new instance starts with viins mode and the
keybindings in /etc/zsh/zshrc are activated.

This doesn't affect a normal login shells since the environment most
likely doesn't have the EDITOR variable set.

-- 
package defaults are unfriendly for users that use the 'viins' editing mode
https://bugs.launchpad.net/bugs/72054
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to