[OS X TeX] TeXShop key bindings
Murray Eisenberg
murrayeisenberg at gmail.com
Tue Feb 23 21:59:43 CET 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://tug.org/pipermail/macostex-archives/attachments/20210223/32969bc8/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.