Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

A proposal for keyboard shortcuts

+4
−0

(This may not be the simplest feature request. It's also not extremely high priority. It's a nice-to-have, not imperative, and may not be possible at the moment - which is fine.)


Everyone loves keyboard shortcuts. Programmers are known to love using their keyboards to whiz around without touching the mouse, and even other people often prefer the ease of using the keyboard and not having to change input methods all the time. It's also a type of accessibility feature (disclaimer: I wrote that).

In that vein, I'd love to see keyboard shortcuts arrive here on Codidact in some form. I've lined out a few commands that I'd think would be useful and are in line with my experience using keyboard shortcuts elsewhere on the 'net (Twitter, Stack, etc.).


?: brings up available shortcuts
n: new post (in that category)
s: search
g: go to...
  m: main page (of that site)
  u: users
  f: flags
  h: help
  p: your profile
  c: category...
    1: first category (generally Q&A)
    2: second category (Site Proposals, here); etc. for however many categories there are
j: moves selection down one item (such as posts on a category page or answers to a question)
k: moves selection up one item
t: use a tool... (on a post)
  f: flag
  e: edit
  c: comment
  l: get permalink
  h: view history
  m: migrate post
  d: delete
  v: vote...
    u: up
    d: down
    c: close

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (4 comments)

3 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+4
−0

You are lucky!

This has been completed. It's now in core, so no need for a user script anymore. There are also some additions to the user script version, namely, that post, user and tag lists are now supported.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (2 comments)
+3
−0

Update: Now active by default (no user script needed). See this answer


I have hacked together a userscript for this. If it works, we can also add it to the "original" Codidact software. If it doesn't, blame me programming something past midnight.

Install - See the source

Tested only in Firefox with Greasemonkey, but I don't see why it shouldn't work with other platforms... :) Please report bugs/request features here in the comments or there on GitHub as issues.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+1
−0

After using this for a while, I have a couple improvements / suggestions.

g > c > enter should take you to the categories page.

g > s should take you to search.

When opening a dialogue with multiple options, such as flags or closing, you should be able to select an option using the number keys. For instance, t > v > c > 1 to choose the first close option on a post.

esc should close an open dialogue.

When a post is focused (such as by j or k), ? should bring up available shortcuts.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »