bash icon indicating copy to clipboard operation
bash copied to clipboard

vi-search-mode-string

Open liambeguin opened this issue 7 years ago • 6 comments

Hi,

would adding a mode string when using vi-search require much work ?

Liam

liambeguin avatar Apr 28 '17 02:04 liambeguin

There already is a / or ? displayed when in search mode (depending which direction in history you're searching), but I take it you mean allowing a custom one yes?

calid avatar Jun 15 '17 14:06 calid

well, / or ? are displayed but after the prompt. Not in place of the + or : (or custom string) It makes it quite easy to confuse a / in insert-mode and a / in command-mode. I though another custom string could help here.

liambeguin avatar Jun 17 '17 21:06 liambeguin

Since it haven't been merged yet, would it be possible to update the source code of bash to 4.4.X please :) ?

dannycolin avatar Feb 07 '18 23:02 dannycolin

@dannycolin I've pushed a modestrs-4.4 branch that builds a patched version of bash 4.4/readline 7.0. checkout that branch, do a git submodule update to point to the corresponding readline branch, and build.

calid avatar Jun 14 '18 20:06 calid

@calid Eh thanks.

I'm surprised that your patch hasn't been merged. Would you mind if I open an issue/feature request on savannah? Maybe this time it'd be accepted. Who knows!

dannycolin avatar Jun 20 '18 20:06 dannycolin

@dannycolin of course, good luck :)

calid avatar Jun 22 '18 07:06 calid