> On 19 Sep 2017, at 01:30, Simon Thelen <gentoo-u...@c-14.de> wrote: > >> I find that my pager and editor are set in /etc/env.d/99pager and >> /etc/env.d/99editor respectively, but creating a >> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem >> to work. > Either "set-editing-mode vi" in /etc/inputrc for all readline programs > or in /etc/bash/bashrc (for bash-only)
Oops! This spelling breaks the "m" key - for some reason it doesn't work in lowercase mode. The correct comment directive is "set editing-mode vi" with a space after "set". This is also discussed on the Vim wiki: http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal Stroller.