Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

What is the recommended method/syntax for denoting keyboard shortcuts in Stack Exchange questions and answers?

For example, how would you write the following in a less verbose manner?

  • Press ctrl, and press either the minus key or the equals key
  • Ctrl or cmd, and lowercase c
  • Ctrl, alt and a, then ctrl and uppercase l
  • Hold ctrl or cmd while scrolling with the mouse wheel

(Well, the last one isn't strictly a keyboard shortcut)

Return to FAQ index

share|improve this question

migrated from Aug 31 '09 at 19:44

This question came from our site for professional and enthusiast programmers.

Note that you can now do this using the <kbd> tag.

  • Ctrl + - or Ctrl + =

  • Ctrl + C

  • Ctrl + A

  • Ctrl + Shift + L

Obviously you have to watch your line spacing due to the additional height of the line.

share|improve this answer
It almost seems unfair that you get to implement a feature in order to provide the best answer to certain questions. :) – Bill the Lizard Aug 31 '09 at 19:44
Why isn't this answer marked as correct? – Dani Springer Nov 15 '15 at 21:01

I'd say we do it just like it is done all over the world since the beginning of time:

  • C-- or C-=
  • C-c
  • C-a C-L
  • C-x M-c M-butterfly
share|improve this answer
Ah, good old xkcd :-D – Bahbar Nov 6 '09 at 8:51
This one I did not get..;( – Dani Springer Nov 15 '15 at 21:00

I’d say we do it just like it’s done all over the world since the beginning of time.

  • Ctrl-Minus/=
  • Ctrl-c
  • Ctrl-a Ctrl-L
share|improve this answer
"we do it just like it’s done all over the world since the beginning of time"? With sticks and mud? – The Tin Man Oct 20 '12 at 17:13

You must log in to answer this question.

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