<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear Paul,<br>
<br>
On 2018-04-16 17:58, Paul Verschueren wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DB6PR0201MB2456805566678E87BF918240E6B00@DB6PR0201MB2456.eurprd02.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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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">I’ve just started to use TeXworks and
like it <span style="font-family:Wingdings">
J</span>, so I wanted to customise it.<o:p></o:p>
</div>
</blockquote>
<br>
Welcome to the community!<br>
<br>
<blockquote type="cite"
cite="mid:DB6PR0201MB2456805566678E87BF918240E6B00@DB6PR0201MB2456.eurprd02.prod.outlook.com">
<div class="WordSection1">
<p class="MsoNormal">I have various shortcuts in muscle memory
so wanted to set them up in TeXworks.<o:p></o:p></p>
<p class="MsoNormal">So following the “short” manual, I created
<user>\TeXworks\configuration\shortcuts.ini with the
line:<o:p></o:p></p>
<p class="MsoNormal">actionComment = Ctrl+/<o:p></o:p></p>
<p class="MsoNormal">When I start up TeXworks, select an input
line, and enter Ctrl+/ nothing happens – but when I enter
Ctrl+Shift+] the line is commented.<o:p></o:p></p>
</div>
</blockquote>
<br>
Off the top of my head, I can only think of a few things to
check/try - the shortcut customization should normally work...<br>
<br>
1) Make sure that you actually used the correct directory. You can
find it from the menu Help > Settings and Resources... There
should be a bunch of other files in there as well, e.g.
"syntax-patterns.txt".<br>
<br>
2) Make sure the correct shortcut is displayed in the menu (in your
case next to Format > Comment). If the old shortcut is displayed,
Tw did not recognized the customization - in that case please
double-check the directory (see 1) and the filename<br>
<br>
3) For testing, please try other actions and other key combinations.
Again, there might be a typo. Also, if the shortcut you defined is
also used elsewhere (e.g. if you redefine actionComment as Ctrl+N
(New File)), Tw does not know which action you want and therefore
does not do anything. This case currently has no visual indication,
but you should still see the newly assigned shortcut next to the
menu item.<br>
<br>
HTH<br>
Stefan<br>
</body>
</html>