On Aug 8, 2021, at 2:09 PM, Chris Menzel 
<chris.men...@gmail.com<mailto:chris.men...@gmail.com>> wrote:

For me, Ctrl-a and Ctrl-e move the cursor in an ERT frame to the first and last 
characters of the frame, respectively. However, I'm not sure if this is because 
I'm using Emacs keybindings or because I'm using a Mac, which also uses those 
keybindings in text areas.

Thanks for the reply!  Unfortunately, no luck.

I have been using the mac keybindings, plus some customizations.  
Unfortunately, neither with the mac keybindings nor when I change to the emacs 
keybindings (I was hoping to get the code that way) do I see these actions.  
With the mac keybindings, ctrl-e takes me to the end of the on-screen line, but 
not the end of the frame.  Ctrl-a alone seems to do nothing except display "^a 
options" on the status bar at the bottom.  With the emacs keybindings, both 
ctrl-a and ctrl-e yield "unknown function".


Ctrl-o closes the frame and places the cursor to its immediate left; that 
behavior is definitely due to my choice of Emacs keybindings.



Chris Menzel

On Sun, Aug 8, 2021 at 1:01 PM David Pesetsky 
<pese...@mit.edu<mailto:pese...@mit.edu>> 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

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

--
David Pesetsky [pese...@mit.edu<mailto:pese...@mit.edu>]
Department of Linguistics and Philosophy
32-D862 Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge, MA 02139 USA
(617) 253-0957 office           (617) 253-5017 fax
http://web.mit.edu/linguistics/www/pesetsky.home.html

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

Reply via email to