help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] bash insert mode mappings


From: clark wang
Subject: Re: [Help-bash] bash insert mode mappings
Date: Mon, 6 Aug 2012 09:39:41 +0800

On Sun, Aug 5, 2012 at 12:37 PM, Sinbad <address@hidden> wrote:
is there way of doing just like vim insert mode mappings in bash.
basically i want to certain key combinations to be mapped to certain text.
for example.

imap teh the 

is it possible to do this in bash.

Try like this:

  bind -m vi-insert '"teh": "The"'

But seems like this does not work (Tested with 4.0.28 and 4.1.9):

  bind -m vi-insert '"teh": "the"'

There must be a bug here.

regards





reply via email to

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