I have two questions concerning keyboard macros / commands:

1) I'd like to bind a shortkey to the following command sequence:

command-sequence buffer-write; master-buffer-update;

i.e. save the current document, then update the preview of the master
document. In principle, this works. However, if the document is already
saved, the "buffer-write" command is disabled and consequently the
second command is not executed, neither. Is it possible to enforce
execution of the second command?

2) I work on a document with many math macros having long names, several
of them beginning with the same string. When entering an ambiguous
string, an autocomplete window opens offering a choice of commands and
macros that begin with that string (see image attached). This is very
helpful. However, the delay between entering the string and the
autocomplete window appearance is bothering me. Many IDEs have shortkeys
for opening the autocompletion. Does such a shortkey in Lyx exist? If
not, can I create one? What would be the corresponding command?

Thanks a lot.

David

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to