Standard key binding for SyncTeX forward-search?

Stephan Witt st.witt at gmx.net
Thu Feb 20 17:10:30 UTC 2020


Am 20.02.2020 um 17:37 schrieb Stephan Witt <st.witt at gmx.net>:
> 
> Am 20.02.2020 um 17:08 schrieb Stephan Witt <st.witt at gmx.net>:
>> 
>> Am 20.02.2020 um 16:49 schrieb Christopher Menzel <chris.menzel at gmail.com>:
>>> 
>>>> while working with SyncTeX I came to the conclusion a standard
>>>> key binding for "Navigate > Forward Search" would be very useful.
>>> 
>>> That's certainly one of my most-used custom keybindings. I use emacs bindings so have mapped it to C-c-f. You obviously wouldn't want to hijack C-c if you use CUA bindings (and you use Windows or Linux rather than a Mac).
>>> 
>>>> I’d like to propose:
>>>> 
>>>> \bind "C-S-F" "forward-search“
>>> 
>>> As Scott pointed out, that is indeed the cua binding for advanced find; from cua.bind:
>>> 
>>> \bind "C-S-f"                   "dialog-show findreplaceadv“'
>> 
>> Yes, indeed. I’ve used case sensitive grep to search for a free binding and missed it. :(
>> The preferences and the menu present these with capital letters.
>> 
>> So a better grep shows the free keys are: C-S-c and C-S-h.
> 
> Also working and IMO sensible is: C-S-Right.

But also not free :(

I think this reveals a real problem. I’ve detected some other clashes
introduced over time. E.g. in mac.bind

\bind "M-C-Right"  "depth-increment"
\bind "C-M-Right"  "tabular-feature move-column-right"

I’ll see how to check for this with a script…

Stephan


More information about the lyx-devel mailing list