Daniel Watkins wrote:
This is a fairly noob Q, but is there a shortcut to select everything
within a document (like Ctrl-A)?
Cheers,
Dan
Yes, there is (sort of), and no, it's not a particularly newbie question
(meaning that I've been using LyX for a while and only discovered it by
looking hard, after reading your question).
On my system, Ctrl-Shift-End grabs everything from the cursor position
to the end of the file, and Ctrl-Home jumps to the top of the document.
So Ctrl-Home followed by Ctrl-Shift-End will do it. If you want to
make a one-chord shortcut for it, you can do the following.
1. Find the bind file you're using. If you don't know which one it is,
check Edit->Preferences->Look and feel->User interface->Bind file. Copy
it to the bind folder of your local user settings (C:\Documents and
Settings\your name here\Application Data\lyx\bind on Windows if using
version 1.3.6 or later).
2. Open the bind file in a text editor and add the following at the bottom:
\bind "C-a" "command-sequence buffer-begin; buffer-end-select;"
(assuming that Ctrl-A is not mapped to anything you find useful --
otherwise pick a different key combo).
3. Save the new bind file, open LyX, go to Edit->Preferences->Look and
feel->User interface->Bind file and set it to the newly edited bind
file, then test whether Ctrl-A now highlights everything.
HTH,
Paul