Save with keyboard

Description

This plugin lets you save your posts, pages, theme and plugin files in the most natural way: pressing Ctrl+S (or Cmd+S on Mac).

I’ve coded this plugin because I was tired of pressing Cmd+S and then realize Chrome was trying to save the whole webpage :S

After coding this up, I’ve found in the plugin directory two plugins that did the same thing, but each one had some flaws that convinced me to publish mine.

This plugin loads a small Javascript file (minified if not WP_DEBUG). The Javascript checks the contents of any admin page for save buttons.

It is also so smart that saves as draft unpublished posts/pages and updates the ones that are already public.

Also adds a little tooltip on the buttons that can be “clicked” with Ctrl+S or Cmd+S.

Installation

  1. Upload the folder save-with-keyboard to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Installation Instructions
  1. Upload the folder save-with-keyboard to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
Is really so simple to install and use?

You can bet it is.

Where the shortcut is enabled?

Everywhere!
If it’s not a post, page, widget or link the plugin checks for the #submit or input[name=submit] selector (used in for instance theme, plugin and profile).

Reviews

Genious

This plugin just save me so much time. I have a 18 programmable button mouse and now I update pages with one click. If I saw you you I would kiss you!

Works perfectly

This is a perfect solution for utilizing the other WordPress shortcuts so you don’t have to leave your keyboard as much. Thank you!

Read all 20 reviews

Contributors & Developers

“Save with keyboard” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Save with keyboard” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.3

Now the shortcut works even in visual editor!
Minimum WP version bumped to 3.0

2.2

Tested up to bumped to 4.8.2
Fixed typo in tooltip

2.1

Fixed stupid bug removing a single ‘!’

2.0

Updated plugin to work with the latest WP (3.9.2)
* Refactored PHP to simply add a script.
* Removed globals from Javascript through a self invoking function.
* Refactored to save/publish any page/post/link/comment/widget/whatever.

1.1

Worked pretty well, but now it’s awesome:
* removed dependency from external libraries (except for jQuery which is anyway loaded by WP backend)
* enabled shortcut in Themes and Plugins editor
* added tooltip on shortcut-enabled buttons

1.0

First version. Should work pretty well already.