Dov Feldstern <[EMAIL PROTECTED]> schrieb:
> Peleg Michaeli wrote:
>> On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
>>> They shouldn't all be bothering you, only the ones you include are
>>> activated. 
>>> Probably it's cua -- that's the default.

>>> what exactly does your bind file look like? 

>> I'm attaching cua and hebrew here.

>> The cua.bind is in usr/share/... and the hebrew.bind is in
>> ~/.lyx1.5.1/bind/


> The first line of hebrew.bind ("\bind_file cua") is including cua.bind.
> I don't remember the rules in terms of whether you can override
> bindings, and they may also have changes since 1.5. 

Generally, you can overwrite bindings. However in this case it is more
complicated:

 ./bind/cua.bind:\bind "C-g"     "error-next"
 
binds ^G, so LyX will not wait for ^G y.

@ the LyX experts: 
  
  Is there a way to "unbind" a key so that it can be used at basis for a
  set of multi-key bindings?
 
> The easiest thing to do may be to just copy cua.bind from /usr to your
> local lyx bind directory, rename it to mycua or something, 

Actually, there is no need to rename (other than clarity), as LyX will
try the version in your personal LyXDir first.

> get rid of the "C-g y" in there, and include that in hebrew instead of
> cua. 

It will not matter where the new bindings are included as long as the
original binding is commented out:

-  \bind "C-g"     "error-next"
+  # \bind "C-g"     "error-next"

Günter

Reply via email to