118

Originally we had implemented keyboard shortcuts as a user script. We have now finally made the change to have them integrated into the site.

When you go to the Edit Profile & Settings page on your profile, and then select the Preferences submenu, you’ll find a new checkbox labeled Enable keyboard shortcuts (which is located about half the way down on that page). Click it, and from there on, everything works as with the user script. Press ? to get started.

Once you enable it on one site, it's enabled cross-network.

If you already have the user script installed you don’t need to do anything. We detect the user script, disable its functionality, and run the built-in version instead. That means you don't have to manually enable anything, while still running the correct version of the keyboard shortcuts (currently the two are identical, but in the future, fixes and improvements will be made to the built-in version).

7
  • 1
    Just to note: The Pro Forma Autoreview Comments extension interferes with comment loading for now. Commented Jul 26, 2014 at 13:43
  • 3
    Mini-feature-request: Make j/k work on searches too
    – Doorknob
    Commented Jul 29, 2014 at 8:39
  • It did not work for me in Firefox (probably because I have option "Search for text when I start typing" turned on). Commented Sep 22, 2018 at 11:39
  • Or rather, it does if I use Shift + whatever shortcut key. Where is that documented? I only discovered it by accident, by reading another Meta Stack Exchange post. Commented Sep 22, 2018 at 19:18
  • Firefox version: Quantum 62.0 Commented Sep 22, 2018 at 19:29
  • To make it work reliably in Firefox (say, for use with macro keyboards and other kinds of macros), the existing view state (e.g., the focus may be in some UI element that prevents the Stack Exchange keyboards from working) in Firefox needs to be reset to a known (good) state. This can be done by this sequence: Ctrl + F, Esc, F6, F6. Explanation: The toggle F6 + F6 (to the address bar and back) clears the state and Ctrl + F, Esc is for the toggle to end up in the main window (as the toggle would fail for this purpose if the focus when this starts happens to be in the address bar). Commented Oct 28, 2021 at 12:21
  • The F6 toggle may not be necessary. Ctrl F, Esc may be sufficient. Commented Mar 14, 2022 at 16:16

8 Answers 8

18
+50

Will these keyboard shortcuts help me robo-review faster?

3
12

Could support also be added for comments (upvote, flag, edit, delete)?

1
  • you can use tab navigation
    – starball
    Commented Jan 31, 2023 at 18:09
12

Methinks the Help Centers should be updated to mention this feature.

7

Could we make Ctrl+Enter unified across the text inputs?

When you edit an answer or question you can press Ctrl+Enter to save and finish (same as sending an email on gmail). This works in a couple of other places, but not when you are submitting a question or answer, you have to physically click the button.

This is taken from my question here

1
7

Since this intended for power-users can we get a way to get to the review-pages as well as the "hidden pages" like the 10k-tools (or site-stats)? And can we get working navigation while we're on these pages?

2

t opens the tag section, but doesn't scroll to it or focus it, making it little more than useless.

0
1

I've seen some screenshots for the "Order answers by..." (at least for the user script). What happened to that function? I don't see it.

0

There could be a lot more handy shortcuts:

Why can I use keyboard shortcuts when I answer in threads (which has a WYSIWYG) but cannot use the same shortcuts in comments?

Do you realize how long it takes to put a link in a comment? I first have to paste the link's string and then manually wrap it in [] and then add the hyperlink (..) this is extremely tedious.

In here I just select the text, hit Ctrl+L and that's it.

The most killer feature of all would be to automatically transform a link's text into the title of that page, so the link will have a readable meaning and not just a long string of meaningless characters/numbers

5
  • The editor's keyboard shortcuts are not related to this feature, and are enabled regardless. Commented Oct 12, 2018 at 16:32
  • You misread what I've said - I was talking about comments, not editor (for answering). There are no markdown shortcuts inside comments.
    – vsync
    Commented Oct 12, 2018 at 19:02
  • I wasn't clear enough. The editor hotkeys you wish to emulate in comments do not come from this script, or its integration into SE. There's therefore no point in posting here, on this question, to ask for those same hotkeys to be added to comments: they were never part of the script in the first place and the code is not related. Commented Oct 13, 2018 at 3:17
  • @NathanTuggy - I know it's not related to this script and I know that those shortcuts come directly from the 3rd-party WYSIWYG editor, but still, why not add focus-aware shortcuts? There's nothing in the title of this topic to suggest this is not the right place. I almost wrote a script myself that works on stackoverflow and allow much more useful shortcuts than the ones provided already. but I do not wish to spend time on something which I believe should be integrated internally, so I'm here to promote my agenda
    – vsync
    Commented Oct 13, 2018 at 7:15
  • 1
    a) There already are such scripts. I use one myself. Look on stackapps.com. b) If you answer only by a question's title, without reading the actual question, you will very frequently end up completely missing the point. On many sites, such answers are deletion-fodder. c) Just post a question already. It's not that hard. (Better yet, find the existing question and upvote it.) Commented Oct 13, 2018 at 7:23

You must log in to answer this question.

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