ctrl+[key] functionality for Wordpress
November 13, 2010 5:28 AM   Subscribe

I'm looking for a Greasemonkey script/Wordpress plugin that will allow me to use ctrl+s to save a post and ctrl+p to publish a post. This is for Wordpress 3.0.1, self hosted.

Option 1] A greasemonkey script that will do some javascript magic to a] press the "Save Draft"/"Update" button to either save or update a post when I press ctrl+s and b] press the "Publish" button to publish the post when I press ctrl+p.

Option 2] A Wordpress plugin that will do the above.

I realise that I can press alt+shift+p to publish a post. However, I'm looking for some different (and additional) functionality. Ctrl+[key] is easier for me, and the save/update key functionality is apparently completely missing anyway.
posted by Solomon to Computers & Internet (4 answers total)
Wouldn't that conflict with the default browser settings tho, since Ctrl-S and Ctrl-P are already assigned?
posted by ClarissaWAM at 6:50 AM on November 13, 2010

Response by poster: No, because I have already unassigned those keys.
posted by Solomon at 8:04 AM on November 13, 2010

Ah. Well if you want to change the keyboard shortcuts yourself and you feel up to it, the code for them is allegedly in the /wp-includes/js/quicktags.js file.
I used to change the edit buttons by fiddling around with that file but that was years ago when I was less stupid so I can't help you do it.
posted by ClarissaWAM at 9:03 AM on November 13, 2010

Response by poster: Unfortunately, that doesn't include the functionality for saving the post, only publishing it.
posted by Solomon at 12:15 PM on November 13, 2010

« Older Papa Noel for American peeps.   |   Help me to help needy families Newer »
This thread is closed to new comments.