bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash + dvorak + vi-mode key remap problem


From: Chet Ramey
Subject: Re: bash + dvorak + vi-mode key remap problem
Date: Mon, 16 Aug 2004 15:41:51 -0400

> the problem is getting readline in bash to play. you may put constructs
> like this in your .inputrc:
> 
> $if mode=vi
>     h: backward-char
>     t: next-history
>     s: previous-history
>     s: forward-char
> $endif

Use the `set keymap' command to specify the keymap before binding
key sequences.

> btw: i don't get next-history or previous-history to work (i am running
> bash 3). the usual arrow keys work, but C-p and C-n do not, and neither
> anything i specify. are not these functions what i think they are?

Works for me in command/movement mode.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]