I am using TexMaker and I want to map CTRL-Q to "Comment" and CTRL-W to "Uncomment". I do not want to disable CTRL-Q, but to change its default behavior.
In TexMaker, I get the following error on console:
QAction::eventFilter: Ambiguous shortcut overload: Ctrl+Q
QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W
If you do
stty -a
, you'll see that^Q
is assigned to "Start" (undoes^S
"Stop"), and^W
is "werase" (word erase).You can use the
stty
command (seeman stty
) to unset these, or set them to different values. Once you've done that,TexMaker
should stop complaining.