Re: Changing key bindings in the GUI

2014-08-26 Thread Maria Gouskova
On Mon, Aug 25, 2014 at 4:40 PM, Maria Gouskova  wrote:
> Hi all,
>
> I want to check whether this is a bug or I'm just missing something. I
> am using a custom bindings file that calls two other files. The file
> looks like this:
> ##
>
> \bind_file aqua.bind
> \bind_file mac.bind
>
> \bind "C-y""layout Numbered Examples (consecutive)"
> \bind"C-~S-a""layout Subexample"
> \bind"C-/""inset-vspace-bigskip"
>
>
> ##
>
> These three custom key bindings work without a problem. The problem is
> with the daughter bindings files, and I tried to change it through the
> GUI but to no avail.
>
> One of the key bindings in the mac.bind file in the lyx.app folder
> defines the depth-decrement key binding as:
>
> \bind "M-C-Right""depth-increment"
>
> But this does not show up when I look in the LyX: Preferences editing
> shortcuts. There, depth-decrement is not shown to have any key
> bindings associated with it, and when I clicked on 'modify', the cell
> for entering the key binding is grayed out. I thought it was a key
> combination conflict between the aqua and mac bindings files, but I
> don't see one when I inspect the files.
>
> So, I guess I wonder why the mac.bind definition is not working, and
> why the GUI menu for changing the key bindings is not available.
>
> Maria

P.S. I figured out how to change the key bindings through the GUI menu
(for anyone as dense as me, you just select the command you want from
the options, click 'modify', and then hit the key combo you want to be
associated with the command. Then hit 'apply'. It even allows you to
override existing key bindings.) Still wondering, though, why the
mac.bind definitions are not working when called from a custom
bindings file.


Changing key bindings in the GUI

2014-08-25 Thread Maria Gouskova
Hi all,

I want to check whether this is a bug or I'm just missing something. I
am using a custom bindings file that calls two other files. The file
looks like this:
##

\bind_file aqua.bind
\bind_file mac.bind

\bind "C-y""layout Numbered Examples (consecutive)"
\bind"C-~S-a""layout Subexample"
\bind"C-/""inset-vspace-bigskip"


##

These three custom key bindings work without a problem. The problem is
with the daughter bindings files, and I tried to change it through the
GUI but to no avail.

One of the key bindings in the mac.bind file in the lyx.app folder
defines the depth-decrement key binding as:

\bind "M-C-Right""depth-increment"

But this does not show up when I look in the LyX: Preferences editing
shortcuts. There, depth-decrement is not shown to have any key
bindings associated with it, and when I clicked on 'modify', the cell
for entering the key binding is grayed out. I thought it was a key
combination conflict between the aqua and mac bindings files, but I
don't see one when I inspect the files.

So, I guess I wonder why the mac.bind definition is not working, and
why the GUI menu for changing the key bindings is not available.

Maria