<< | Page list | >>
Tips for creating/testing command sequences using the mini-buffer
Here are some tips for creating and testing command sequences in LyX using the mini-buffer. This is useful when creating CommandSequences, i.e. keyboard macros.
The mini-buffer in LyX is very useful for testing command sequences and it is located at the bottom of the LyX window. You activate it by clicking on it, or pressing M-x.
- Use the mini-buffer to test commands. This saves you from having to restart LyX after you have editied your .bind-file.
- In the mini-buffer, you can use Arrow-up/down to get previous/next command, and Arrow-right for command completion (Qt frontend).
- Use copy and paste instead of typing when testing command sequences in the mini-buffer.
In particular, I recommend that you edit the command sequence as it will appear in your bind file and then copy and paste it to the mini-buffer. The table below lists some ways that you can copy and paste text into the mini-buffer:
|OS||"Editor"||Frontend||How you can copy and paste the command sequence into the mini-buffer|
|Unix (RedHat)||Browser (Opera)||Qt||Use the mouse to mark the command sequence in this window, and then paste it into Lyx's mini-buffer using the middle mouse button. /Christian|
|Unix (RedHat)||Emacs||Qt||Mark the command sequence in Emacs with the mouse and then paste it into Lyx's command prompt using the middle mouse button. /Christian|
|Unix (RedHat)||Lyx||Qt||Mark command sequence from text in Lyx and use for instance C-Ins to copy it. Then paste into Lyx's command prompt using the middle mouse button. (S-Ins doesn't work for me) /Christian|