[texworks] Disabling Built-In Keyboard Shortcuts

Stefan Löffler st.loeffler at gmail.com
Wed Jul 13 20:30:13 CEST 2011


On 2011-07-13 10:08, Grzegorz Popek wrote:
> I know that I can define my own keyboard shortcuts.
> However, how to disable (or eventually overwrite) existing ones?

Simply by defining them as empty, in this case:
actionQuit_TeXworks =

> Let's say, for example, that I have this nasty habit of hitting ctrl+Q
> (used to comment a line of code in FlashDevelop) and I keep closing my
> TeXworks window. Hence, I would like to disable ctrl+Q doing what it
> currently does.

See above.

> I tried assigning it a new function in an .ini file (where I keep my
> other shortcuts), but it seems that built-in shortcuts have a priority
> of some sort resulting in no change whatsoever.

I just tested it (on Linux) - when I have two functions with the same
shortcut, Tw simply does nothing (and on the console prints the reason
for it: "QAction::eventFilter: Ambiguous shortcut overload: Ctrl+Q")


More information about the texworks mailing list