From: Eberhard W L. <el...@li...> - 2019-08-25 17:18:57
|
Bernard, this is rather cool. I will pull the list and have a look at useful ones which need different bindings on the German keyboard time permitting, but tomorrow is a holiday here... greetings, el , — Sent from Dr Lisse’s iPad Mini 5 On 25 Aug 2019, 18:35 +0200, Bernard Desgraupes <bde...@or...>, wrote: > > I have this little proc in my file prefs.tcl: > > namespace eval binding {} > proc binding::ls {args} { > return [join [eval binding list $args] "\n"] > } > > > It displays one binding per line. It supports some options to filter the bindings. In particular -key and -mod are very useful. > Examples: > If I'm looking for the bindings involving the letter C, I type: > binding::ls -key 'c' > > If I want the bindings corresponding to cmd-T, I type: > binding::ls -key 'T' -mod c > > For opt-cmd-R: > binding::ls-key 'R' -mod oc > > To find all the bindings defined in TeX mode (assuming it has been loaded already): > binding::ls -tag TeX > > Etcetera... > > Bernard > > > > > > Le 25 août 2019 à 09:13, Dr Eberhard W Lisse <el...@li...> a écrit : > > > > Unsurprisingly > > > > binding create {c '+'} shiftRight > > binding create {c 'ü'} shiftLeft > > > > work :-)-O so I now am really becoming interested in the list of > > possible bindings to rearrange. > > > > Unfortunately the Tcl Shell puts all bindings on one single line which > > makes this very difficult tpo read. > > > > greetings, el |