11

SE has a fairly good keyboard shortcut system. It's served me fairly well during this period of me not being able to left-click anything. You can navigate to /questions, /users, meta, the tour... etc.

One thing that seems to be missing, though, is a keyboard shortcut to /questions/ask. This is an important page, and it's a bit inconvenient to have to go tabbing through the page to find it (or manually typing it in the URL bar).

I'd suggest that the keyboard shortcut, to be consistent with the other ones, be G and then A. No other keyboard shortcut is currently using the A key, and it seems a logical choice for "ask".

And, of course, don't forget to add it to the auto-help ;)

0

1 Answer 1

2

This would be a good feature to have, so, until this is properly implemented, I've made a very simple JavaScript fix using the Tampermonkey extension.

  1. Download the aforementioned extension.
  2. Click "Create new script" as shown in the screenshot below:

enter image description here

  1. Copy and paste this exact code into the area that will come up (there should be a comment prompting you to paste it in):
// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Keyboard shortcut to ask a question
// @author       Ollie
// @match       *://*stackexchange.com/*
// @match        *://*stackoverflow.com/*
// @match           *://*serverfault.com/*
// @match           *://*superuser.com/*
// @match           *://*askubuntu.com/*
// @match           *://*stackapps.com/*
// @match           *://*mathoverflow.net/*
// ==/UserScript==
// @grant        none
// ==/UserScript==

(function() {

$(document).keypress("Q",function(e) {
    if(e.ctrlKey)
        window.location.href = "/questions/ask";
});
})();
  1. Hit save. Keep all the @match'es to hit all websites on Stack Exchange. Use the Ctrl+Q keys to visit the Ask Question page.

And there you are! Enjoy.

You must log in to answer this question.

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