Re: Shortcut to switch panes?

2023-07-07 Thread Christopher Menzel
> On Jul 7, 2023, at 10:58 AM, Kornel Benko  wrote:
> 
> Am Fri, 7 Jul 2023 09:45:11 +0200
> schrieb Christopher Menzel  >:
> 
>>> On Jul 6, 2023, at 1:35 PM, Kornel Benko  wrote:
>>> Am Thu, 6 Jul 2023 12:51:11 +0200
>>> schrieb Christopher Menzel :
>>> 
 Estimable LyX folk,
 
 The answer seems to be “no” but: is it possible to set up a keyboard 
 shortcut that,
 when one has split a window into two panes (“views” in LyX-speak), will 
 make the
 inactive pane active so that one can easily switch from one pane to the 
 other?
 "Ctrl-X O" does this in emacs and it’s a real timesaver, as one doesn’t 
 have to lift
 one’s hand off the keyboard, move the mouse cursor to the inactive pane, 
 click, and
 move one’s hand back to the keyboard. I am almost always working with a 
 split window
 and I jump between panes frequently, so this would really be a huge 
 convenience.
 
 Thanks!
 
 Chris Menzel  
>>> 
>>> How about to add a shortcut containing 'tab-group-next'?
>>> Should be working for you.  
>> 
>> Thanks for the suggestion. Unfortunately, in LyX 2.3.7, at least, 
>> “tab-group-next” is
>> not listed among the LyX functions when I search the key bindings, and if I 
>> simply try
>> to define a new shortcut for that function I’m told that it is "unknown or 
>> invalid”.
>> The only function starting with “tab-group” is “tab-group-close”. (Same 
>> result under
>> both MacOS and Linux versions of LyX 2.3.7.)
>> 
>> -chris
> 
> Yes, I was referring to lyx2.4, sorry. Since it will be available shortly, 
> you may want
> to wait a little?

Couldn’t wait! I downloaded the latest MacOS beta and have already bound 
shortcuts to tab-group-next and tab-group-previous, thanks! (I expect that, as 
usual, Kali Linux will be updated promptly to 2.4 once it is out of beta.)

-chris

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Shortcut to switch panes?

2023-07-07 Thread Kornel Benko
Am Fri, 7 Jul 2023 09:45:11 +0200
schrieb Christopher Menzel :

> > On Jul 6, 2023, at 1:35 PM, Kornel Benko  wrote:
> > Am Thu, 6 Jul 2023 12:51:11 +0200
> > schrieb Christopher Menzel :
> >   
> >> Estimable LyX folk,
> >> 
> >> The answer seems to be “no” but: is it possible to set up a keyboard 
> >> shortcut that,
> >> when one has split a window into two panes (“views” in LyX-speak), will 
> >> make the
> >> inactive pane active so that one can easily switch from one pane to the 
> >> other?
> >> "Ctrl-X O" does this in emacs and it’s a real timesaver, as one doesn’t 
> >> have to lift
> >> one’s hand off the keyboard, move the mouse cursor to the inactive pane, 
> >> click, and
> >> move one’s hand back to the keyboard. I am almost always working with a 
> >> split window
> >> and I jump between panes frequently, so this would really be a huge 
> >> convenience.
> >> 
> >> Thanks!
> >> 
> >> Chris Menzel  
> > 
> > How about to add a shortcut containing 'tab-group-next'?
> > Should be working for you.  
> 
> Thanks for the suggestion. Unfortunately, in LyX 2.3.7, at least, 
> “tab-group-next” is
> not listed among the LyX functions when I search the key bindings, and if I 
> simply try
> to define a new shortcut for that function I’m told that it is "unknown or 
> invalid”.
> The only function starting with “tab-group” is “tab-group-close”. (Same 
> result under
> both MacOS and Linux versions of LyX 2.3.7.)
> 
> -chris

Yes, I was referring to lyx2.4, sorry. Since it will be available shortly, you 
may want
to wait a little?
(I felt tempted to add this shortcut to emacs.bind, so now it is there, commit 
bf69b7b3)

Kornel


pgpPLxEvxlNZx.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users