bug-bash
[Top][All Lists]
Advanced

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

bug of readline's vi keybinding function


From: Linsong
Subject: bug of readline's vi keybinding function
Date: Tue, 11 Apr 2006 00:50:52 +0800
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

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. Is the vi mode well implemented by readline? How to set key bindings under vi-insert submode? I am very anxious to get your answer?
  Thanks a lot!

BR
Vincent




reply via email to

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