@b0rk The Korn shell supported command-line editing and a weird flavor of history editing (check out the `fc` command), and the POSIX.2 shell was based on ksh, so support for both `emacs` and `vi` modes in interactive shells is pretty much universal except in antique or deliberately minimal shells. Technically it's optional but the Standard says what the supported keybindings are in both modes.