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. |