Hi all, ive taken over development of the keyboard shortcuts plugin from Rosali, who had taken it himself from Netzorz. Rosali has so many plugins, I volunteered to take over this one. Im starting this thread to act as a place for discussion about this plugin. I have released a new version 1.2 which has just a minor change. The link in the footer that shows the shortcut help page is now an icon , in line with existing icons in the footer. I plan to release a version 2.0 in the coming weeks that will allow users to configure personal key settings for the shortcuts.
IMPORTANT: this plugin depends on the jqueryui support plugin
You can get both plugins here: Downloads - roundcube-plugins - Project Hosting on Google Code (http://code.google.com/p/roundcube-plugins/downloads)
Just a quick note, the current version 1.2 should be compatible with 0.4-stable.
Sounds like a great plug-in, but I could really do with a set of installation instructions (dropping in the plugins directory doesn't seem to do anything) and also a list of shortcuts would be helpful. Thanks in advance...
Did you actually activate the plugin? You need to put the plugin in your main.inc.php in your config dir.
I understand you need to add the plugin to main.inc.php to enable it, but can you advise what string I need to add to this file in order to activate?
In /config/main.inc.php add it to the $rcmail_config['plugins'] array, like:
$rcmail_config['plugins'] = array('keyboard_shortcuts');
We need jqueryui aswell:
$rcmail_config['plugins'] = array(
'jqueryui',
'keyboard_shortcuts'
);
Many thanks Rosali. This works a treat. What an awesome plug-in; should be in roundcube core! Thanks again.
Great Plugin, however I would prefer to have standard shortkeys. ie ctrl +a selects all.
Is there away this can be changed?
Thanks
Allowing meta keys opens up a huge can of worms. I doubt this would ever work. What if you select a piece of text in your webbrowser and want to actually select THAT instead of selecting all messages? It would badly conflict with OS specific key bindings.
I released a new version 1.6 that fixes a nasty bug that can cause events to fire twice.
Also added the 'd' command to delete a msg.
Both patches courtesy of elan.ruusamae.
Get the new version here: Roundcube Plugins | Underwater World (http://underwa.ter.net/roundcube-plugins/)
I have tweaked keyboard_shortcuts.js so that it will do the right thing if the 'Compose in a New Window' plugin is installed and the user has selected to use it for compose/reply.
If the 'Compose in a New Window' plugin is not installed, or if the user has not decided to use that feature in his settings, this version will behave the same way that the unmodified version does.
You can download the revised file at http://ganymeta.org/keyboard_shortcuts.js (http://ganymeta.org/keyboard_shortcuts.js).
Hi, I've modified keyboard_shortcuts.js so that it will behave properly if the 'Compose in a New Window' plugin has been installed. The modified version will now check to see if the 'Compose in a New Window' plugin has been installed and the user has selected to use the new window style for composing/replying. If so, 'c', 'r', and 'R' will use the pop-up window provided by 'Compose in a New Window'. If not, it behaves the same as before.
I don't seem to have enough privileges to enter a link here, so I will say that if you go ganymeta.org slash keyboard_shortcuts.js, you will be able to download a version with the changes I made.
You can download the revised file at http://ganymeta.org/keyboard_shortcuts.js (http://ganymeta.org/keyboard_shortcuts.js).
Hello!
I don't know if it is correct to add a feature request to an existing plugin thread, so sorry for that.
I miss a specific feature for a shortcut, namely "toggle unread status for selected messages". That is a nice feature in Thunderbird, where I press "m" and the message(s) are toggled read/unread. This even works for multiple marked messages, but I have to check if all messages then are getting read or unread.
There is an option for "set marked messages to read" or unread, respectively. Would it be possible to use this function for the shortcut?
Hi all, ive moved this plugin to github and tested it for compatibility with rc 0.8. From now on you can get this plugin here:
https://github.com/corbosman/keyboard_shortcuts
Cor
Thanks for the plugin Cor.
Is it possible to add our own extra keyboard shortcuts or only the predefined ones?
Only the predefined ones.
However, the contents of config.inc.php.dist includes:
// each keyboard shortcut we support needs an entry in this array.
$rcmail_config['keyboard_shortcuts_extras'] = array();
So I guess it's for future use ?
Yes. I took over the maintenance of this plugin from another author, and this seems to be a start at allowing more options.
I released a new version of this plugin, which you can get through composer or github.
https://github.com/corbosman/keyboard_shortcuts/tree/2.3
I released version 2.4 of this plugin which fixes some bugs.