shortcut for going to edge of ERT frame?
David Pesetsky
pesetsk at mit.edu
Sun Aug 8 20:59:43 UTC 2021
Very helpful, thank you!
> On Aug 8, 2021, at 3:12 PM, Paul A. Rubin <parubin73 at gmail.com> wrote:
>
> On 8/8/21 2:01 PM, David Pesetsky wrote:
>> Is there any way to program a key so that if you are typing within an ERT frame, it takes the cursor to the last (or first) character in that frame?
>>
>> Also useful would be a way to exit the frame — landing at at the first non-ERT character to the left or right of the frame.
>>
>> -David
>>
> You can bind keys to the functions "inset-begin" (positions the cursor before the first character in the inset) and "inset-end" (positions the cursor after the last character in the inset). In both cases, the cursor remains within the inset.
>
> To exit the inset, you can use "command-sequence inset-end; char-forward;".
>
> Paul
>
> --
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
More information about the lyx-users
mailing list