shortcut for going to edge of ERT frame?
Paul A. Rubin
parubin73 at gmail.com
Sun Aug 8 19:12:59 UTC 2021
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
More information about the lyx-users
mailing list