[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Change hjkl in readline vi editing-mode
From: |
Eduardo Bustamante |
Subject: |
Re: [Help-bash] Change hjkl in readline vi editing-mode |
Date: |
Fri, 16 Jun 2017 08:15:47 -0500 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Jun 16, 2017 at 06:49:23AM +0200, address@hidden wrote:
> Hey folks,
>
> I recently switched to the Colemak keyboard layout and have remapped hjkl in
> vim, now I want to do the same for the readline vi editing-mode but I can't
> find any related .inputrc settings. I appreciate any help.
[...]
>From man 3 readline:
"h" backward-char
"j" next-history
"k" prev-history
"l" forward-char
You need to remap these vi command mode bindings. I.e.
$ bind -m vi-command '"x": backward-char'
--
Eduardo Bustamante
https://dualbus.me/