9

CTRL + K is a Chrome shortcut which puts a ? into the address bar, so I can't use it to indent the code. How do I remove/block it as a Chrome shortcut?

4
  • 4
    What? I'm able to do it below and it works just fine in an answer. I wouldn't guarantee any good behavior for comment boxes, though.
    – Makoto
    Commented Feb 13, 2016 at 2:53
  • 2
    But whenever I press CTRL-K, it doesnt work, but it used to.. must be something to do with an update.. link, here you can see CTRL-K as an address bar shortcut. Commented Feb 13, 2016 at 3:09
  • Works fine for me, so long as I'm in a post. I suggest you specify your exact browser details (version, OS etc) in the question.
    – Jon Skeet
    Commented Feb 13, 2016 at 10:31
  • Windows 10, Google Chrome Version 48.0.2564.109 m. Also, funnily enough, it works fine in other StackExchange sites except SO. On SO, it works randomly sometimes, but more often, it does not. Commented Feb 13, 2016 at 10:34

1 Answer 1

4

According to Glen Murphy, Design Director, Google Chrome

It's there for backwards compatibility with the search shortcut in previous browsers. The question mark is a way to force a search (for cases where your query looks a lot like a URL).

The Stack Overflow CTRL + K shortcut works in Chrome if you are editing a post. Otherwise, it is going to behave like a normal Chrome shortcut.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .