[OS X TeX] TeXShop key bindings

Murray Eisenberg murrayeisenberg at gmail.com
Tue Feb 23 15:59:43 EST 2021


TeXShop 4.59 Changes.pdf discusses using the following file to access new math mode key bindings:

/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
     {
         /* Sample Math Mode bindings */
         "~f" = "moveForwardTo$:";
         "~b" = "moveBackwardTo$:";
         "^f" = "moveForwardTo$$:";
         "^b" = "moveBackwardTo$$:";
}

But I already have a ~/Library/KeyBindings/DefaultKeyBinding.dict file, as shown in its entirety below.

How can the preceding code from the TeXShop docs be changed, manually or automatically, in the proper form to add to the XML code below?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>^U</key>
	<string>uppercaseWord:</string>
	<key>^u</key>
	<string>capitalizeWord:</string>
	<key>^x</key>
	<dict>
		<key> </key>
		<string>setMark:</string>
		<key>^m</key>
		<string>selectToMark:</string>
		<key>^x</key>
		<array>
			<string>swapWithMark:</string>
			<string>centerSelectionInVisibleArea:</string>
		</array>
	</dict>
	<key>~^u</key>
	<string>lowercaseWord:</string>
	<key>~v</key>
	<string>pageUp:</string>
</dict>
</plist>
---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210223/32969bc8/attachment.htm>


More information about the MacOSX-TeX mailing list