Am Freitag, 19. Mai 2017 um 14:04:48, schrieb Scott Kostyshak <skost...@lyx.org>
> On Fri, May 19, 2017 at 04:35:17PM +0200, Kornel Benko wrote:
> > Hi all,
> > can we please add use of an extra environment variable to set the default 
> > binding file please?
> > env: LYX_DEFAULT_BINDFILE
> > value: Path to default bind file
> 
> What is the use case? Is it for the keytests?
> 
> Scott

Yes, for keystests. We have the following problem:
Search for a string with advanced find dialog.
We may want to continue, but in some cases it is not possible to enter
a command. (Manually it is possible, but not through xvkbd).
Say, I want to enter regex from the dialog. The command string is
        \Axregexp-mode\[Return]
I can see the command in the panel, but the command does not start, e.g. 
\[Return] is not accepted.
OTOH, if I use a a bound key for the job, it works.

So starting lyx with some special bindings helps.

I am playing with function keys (not used in any bind file) like
        \bind "C-F20" "regexp-mode"
or
        \bind "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end 
; buffer-begin-select ; char-delete-forward ;"
to clean the search buffer.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to