[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug of readline's vi keybinding function
From: |
Chet Ramey |
Subject: |
Re: bug of readline's vi keybinding function |
Date: |
Wed, 12 Apr 2006 08:20:58 -0400 |
> Hi,
> Recently, I want to add some keybindings for vi mode's vi-insert
> submode, I add the following lines into ~/.inputrc file:
> set editing-mode vi
> set keymap vi-insert
> "\C-A" : beginning-of-line
> "\C-B" : backward-char
> "\C-F" : forward-char
> "\C-E" : end-of-line
> ... ...
>
> In fact, I put almost all the emacs key bindings into vi-insert submode,
> since the default key bingdings of readline for vi-insert submode is too
> weak. By this way, I want to get the benefits from the two world. But
> it does not work, I have searched the web, but it is very difficult to
> find useful resource about vi mode in readline.
It works fine when I try it. How exactly does it `not work'?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/