<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF">
<div>Hey guys,</div>
<div><br>
</div>
<div>This conversation is exactly why I don't use *any* key bindings or shortcuts at all.</div>
<div>I want the keys that I press to give exactly the ASCII (or other) character that it says it is.</div>
<div><br>
</div>
<div>OK, a lot of what I do is programming in TeX/LaTeX, but a lot is also coding documents for teaching materials. Having a set of shortcuts for one situation, but not the other, is just a road to confusion. So I choose to avoid such a path.</div>
<div><br>
</div>
<div>Hopefully you'll find a strategy that suits what you need to do.</div>
<div><br>
</div>
<div>Cheers.</div>
<div><br>
</div>
<div>   Ross<br>
<div><br>
</div>
</div>
<div><br>
On 18/07/2019, at 18:43, "Luis Sequeira" <<a href="mailto:lfsequeira@gmail.com">lfsequeira@gmail.com</a>> wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div><br>
There are a few ways to handle this.<br>
<br>
First, an explanation.<br>
<br>
What is happening when you press the double quote "<br>
is that TeXShop auto completion kicks in and types ``'' (around the selected text, if any).<br>
<br>
That is what you normally want to happen, and I would not want to turn this off (although it can be done by editing the ~/Library/TeXShop/Keyboard/autocompletion.plist file).<br>
<br>
But what if you want to at some point (perhaps within a verbatim environment where you including programming code, for example) actually want to type the double quote character into your LaTeX source?<br>
<br>
One option is to type it somewhere else, like TextEdit, and copy it and paste it.<br>
A nuisance.<br>
<br>
Below is the solution I came up with for this exact purpose, and that I have been using successfully for some years now.
<br>
<br>
There is another useful feature of TeXShop: Key Bindings.<br>
So I went into <br>
<br>
Source->Key Bindings->Edit Key Bindings File...<br>
<br>
and I added a new one. I used Option-" for input and a quote for output.<br>
<br>
So now all I have to do to get a double quote is to press the same key I would have, except with the Option modifier.<br>
<br>
The trick is to assign it to something that is easy to remember and that you would not use for a different purpose. Since I would have no use for the æ character that is normally typed with option-quote, that made it ideal.<br>
<br>
Luís Sequeira<br>
<br>
<br>
<br>
----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="https://protect-au.mimecast.com/s/ZQ78C1WLjwsBxXLVfyU4sq?domain=tex.ac.uk">
http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://protect-au.mimecast.com/s/xDrdC2xMRkUZWQ0Mc0GlC1?domain=sites.esm.psu.edu">
https://sites.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="https://protect-au.mimecast.com/s/o98KC3QNl1S9ovWnHO96PU?domain=dir.gmane.org">
http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://protect-au.mimecast.com/s/EXiVC4QO8xS9ExRXHXAvCx?domain=email.esm.psu.edu">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="https://protect-au.mimecast.com/s/7pBJC5QP8ySp31wBfj_-ay?domain=mactex-wiki.tug.org">
http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://protect-au.mimecast.com/s/EcldC6XQ68f07JZ5cl3iyg?domain=email.esm.psu.edu">
https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
</div>
</blockquote>
</body>
</html>