[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: Key bindings
From:       Peleg Michaeli <peleg () freeall ! org>
Date:       2008-11-29 22:22:01
Message-ID: 1227997321.16799.55.camel () dell ! linuxdev ! us ! dell ! com
[Download RAW message or body]

Thank you very much.

I think I will try to install LyX 1.6 some day here on my old ubuntu,
but it won't be in the next weeks, probably (for the solution of the
bindings of Ω, ψ, etc...). The bindings of the C-g y works well now.


Peleg.

On Mon, 2008-11-24 at 12:13 +0000, Guenter Milde wrote:
> Dov Feldstern <dov@lyx.org> 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
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic