Open yaeuge opened 5 years ago
@yaeuge you can use Esc instead of -1
,
with
$ cat .inputrc
$if sdcv
"\e\e": "-1\n"
$endif
see #24 and d2327e2a0f067cedcda3ad1aba8224129634f1c7
@Dushistov Thank you for the workaround! I was not able to find it for some reason... Are there any problems to implement the suggested behavior with ^D? It seems so common to me
Oh, I've read it in #24, sorry for missing it
The hack about .inputrc
make a problem: In any time, input \e\e
will input -1
, however, it should only input -1
when multiple items found, I think.
Typing
-1
each time is quite inconvenient to use.Ctrl+D
(which is used for exiting sdcv) would also be better in this case