<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p><font face="Comic Sans MS">Hello!</font></p>
<p><font face="Comic Sans MS">I had the same problem for [ and ], so
I defined Comment as Ctrl+( and Uncomment as Ctrl+).</font></p>
<p><font face="Comic Sans MS">I did also:</font></p>
<p><font face="Comic Sans MS">actionIndent = Ctrl+><br>
actionUnindent = Ctrl+<<br>
actionShow_Hide_Console = Ctrl+$</font></p>
<p><font face="Comic Sans MS">and others<br>
</font></p>
<p><font face="Comic Sans MS">Regards,</font></p>
<p><font face="Comic Sans MS">Alain</font><br>
</p>
<div class="moz-cite-prefix">Le 7/10/2020 à 22:42, Stefan Löffler a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:30fa8561-6552-75ac-28ea-0c93c72f46a8@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="moz-cite-prefix">Hi,<br>
<br>
On 05.10.20 19:41, Wilson Guill?n Estrada wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BN8PR15MB26125CD7E3C84B9C1753B79AEA0C0@BN8PR15MB2612.namprd15.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EstiloCorreo18
{mso-style-type:personal-compose;
font-family:"Trebuchet MS","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1"><span
style="font-family:"Trebuchet
MS","sans-serif"" lang="EN-US">I want to be
able to Comment/Uncomment text using a keyboard shortcut,
but TeXworks comes with a default one, “Ctrl+Shift+[“ (it
changes to “]” for Uncomment). However, as my Windows OS
uses a spanish keyboard, it is impossible to do that
shortcut, as it requires the Shift button to make the “[“
and “]” symbols.<o:p></o:p></span>
<p><span style="font-family:"Trebuchet
MS","sans-serif"" lang="EN-US">Searching
about this issue, found that the key combinations can be
changed by the “config.ini” method, and I tried it (in <b>every</b>
<b>possible</b> <b>way </b>told by the numerous websites
offering that solution), to no avail.</span></p>
</div>
</blockquote>
<br>
The file needs to be named "shortcuts.ini" (not config.ini) and
needs to be placed in the "configuration" folder of TeXworks'
resources folder. The simplest way find the resources folder is to
click on Help > Settings and Resources...<br>
The following two lines works for me:<br>
actionComment=Alt+C<br>
actionUncomment=Alt+Shift+C<br>
(of course you can customize the shortcuts to your liking).<br>
<br>
For a more in-depth tutorial/discussion, please have a look at the
manual (which should be included; alternatively, it's available at
<a class="moz-txt-link-freetext"
href="https://github.com/TeXworks/manual/"
moz-do-not-send="true">https://github.com/TeXworks/manual/</a>).<br>
<br>
<blockquote type="cite"
cite="mid:BN8PR15MB26125CD7E3C84B9C1753B79AEA0C0@BN8PR15MB2612.namprd15.prod.outlook.com">
<div class="WordSection1">
<p><span style="font-family:"Trebuchet
MS","sans-serif"" lang="EN-US"><o:p></o:p></span></p>
<p><span style="font-family:"Trebuchet
MS","sans-serif"" lang="EN-US">To be
honest, I don’t know if there’s any difference between the
stand-alone TeXworks installation and the MikTeX-included
TeXworks, but I really like this program as a TeX editor
(it’s simpler than anyone), and this aforementioned issue
is annoying, so I would like to have a working solution
(that doesn’t involve changing the keyboard language each
time I need to use TeXworks).</span></p>
</div>
</blockquote>
<br>
I'm happy you like TeXworks! :)<br>
<br>
HTH<br>
Stefan<br>
</blockquote>
</body>
</html>