bug-bash
[Top][All Lists]
Advanced

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

Re: readline: How to unbind _all_ keys


From: Henning
Subject: Re: readline: How to unbind _all_ keys
Date: Mon, 20 May 2019 10:50:11 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; rv:56.0) Gecko/20100101 Thunderbird/56.0

On 20/05/2019 07:41, G. Branden Robinson wrote:
Remember that "self-insert" is a binding.

I know (I've been using for over 20 years (v2.01) now)

If you removed all bindings, no keystrokes would do _anything_.

that's exactly what I want in order to then only bind the keys I want
to have bound, like e.g. accept-line etc.

I don't want to have 3 bindings for abort, {backward,forward}-char,
BOL, EOL, {next,previous}-history and so on.
I don't like bindings with \C-x, \e\C.
Of course slf-insert bindings are ok.
But I never use backward-{kill-{line,word},word}, beginning-of-history,
bracketed-paste-begin, complete-*, and many, many more.
Should I one day decide to use such a function, I will bind a key and
then I will use it.

And, should I one day decide to use a terminal emulation that emits
different key-sequences (arrow pad, edit pad and the like), I will
change the relevant bindings. So I don't need bindings for each and
anything.

And here comes another problem: I can remove superfluous bindings like
\C-a, \C-e. But I can not remove bindings with key-sequences my termi-
nal does not produce like \eO[ABCDFH].

Sorry for not sufficiently explaining my intentions in my original
mail, and thanks for your prompt reply.

Henning



reply via email to

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