Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Change Readline mode for all users?
Date: Wed, 20 Sep 2017 15:52:51
Message-Id: AEDB0217-5BDF-43AC-B76F-85B47AF7DEF3@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] Change Readline mode for all users? by Simon Thelen
1 > On 19 Sep 2017, at 01:30, Simon Thelen <gentoo-user@××××.de> wrote:
2 >
3 >> I find that my pager and editor are set in /etc/env.d/99pager and
4 >> /etc/env.d/99editor respectively, but creating a
5 >> /etc/env.d/99bashlineediting file containing "set -o vi" doesn't seem
6 >> to work.
7 > Either "set-editing-mode vi" in /etc/inputrc for all readline programs
8 > or in /etc/bash/bashrc (for bash-only)
9
10 Oops! This spelling breaks the "m" key - for some reason it doesn't work in lowercase mode.
11
12 The correct comment directive is "set editing-mode vi" with a space after "set".
13
14 This is also discussed on the Vim wiki: http://vim.wikia.com/wiki/Use_vi_shortcuts_in_terminal
15
16 Stroller.