Standard key binding for SyncTeX forward-search?

Kornel Benko kornel at lyx.org
Thu Feb 20 17:11:17 UTC 2020


Am Thu, 20 Feb 2020 17:37:52 +0100
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.
> 
> Stephan

$ egrep -i '(c\-S|S\-C)\-Right' cua.bind emacs.bind
	cua.bind:\bind "S-C-Right"		"word-right-select"
	emacs.bind:\bind "S-C-Right"              "word-right-select"

$ egrep -i '(c\-S|S\-C)\-f'  cua.bind emacs.bind
	cua.bind:\bind "C-S-f"			"dialog-show findreplaceadv"
	cua.bind:\bind "C-S-F6"			"buffer-previous"
	emacs.bind:\bind "S-C-F"                  "char-forward-select"

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200220/6a784636/attachment.asc>


More information about the lyx-devel mailing list