I ran into the same issue today, and got tired of having to use the menu bar to toggle monospace. I did a little digging and found a solution that works great for me, and I thought it might help others.
The keyboard shortcuts for Confluence use a product called TinyMCE, which allows you to add keyboard shortcuts on the fly using the function tinyMCE.activeEditor.addShortcut(keystroke, description, command).
You can actually invoke it yourself anytime you are editing a page in Confluence and specify any unused keystroke combination (I picked "ctrl+alt+m" but you could choose a different one that you prefer better) and use the description "monospace" and the command "confMonospace", and from that point on in your page editing session, that keyboard combination is available to you.
There are a couple of ways to do this:
1) Persistent method using GreaseMonkey for Firefox or TamperMonkey for Chrome:
If you are using Firefox or Chrome, you can use the following user script to automatically add the keyboard shortcut anytime you access a URL that matches */pages/editpage.action?* or */pages/createpage.action?*
// ==UserScript==
// @name Monospace Keyboard Shortcut for Confluence
// @version 0.1
// @description Adds a new keyboard shortcut (Ctrl+Alt+M) for monospace formatting
// @match */pages/createpage.action?*
// @match */pages/editpage.action?*
// ==/UserScript==
tinyMCE.activeEditor.addShortcut("ctrl+alt+m","monospace","confMonospace")
2) Ad-hoc method using a javascript bookmark:
If you aren't using Chrome or Firefox, or can't (or don't want to) install GreaseMonkey or TamperMonkey in your browser, you can enable the monospace keyboard shortcut on an ad-hoc basis by creating a new browser bookmark, calling it something like "Enable Monospace", and setting it to the following javascript URL:
javascript:tinyMCE.activeEditor.addShortcut("ctrl+alt+m","monospace","confMonospace");
Then, whenever you are creating or editing a Confluence page where you frequently have to use monospace font, click on your new "Enable Monospace" bookmark, and from that point on, you will be able to use ctrl+alt+m to toggle monospace, the same way you would use ctrl+i to toggle italics.
You can also use this second approach to test out any new keyboard shortcuts you might create, before you decide whether you want to try the GreaseMonkey/TamperMonkey approach.
Just note that anytime the page reloads, the shortcut will be lost unless you use GreaseMonkey or TamperMonkey to add it in for your automatically every time you load the Confluence page editor.
For anyone who's curious, I found out the proper description and command to use by searching in the javascript source code for ".addButton(" (in Chrome, press F12 to show the developer console, switch to the sources tab, then on the lower menu, click Search and use the search box to find all occurrences. You will find a result that says:
B.addButton("monospace",
{title:"monospace",cmd:"confMonospace"}
)
There several others available that might be of interest to you, so feel free to experiment.
Hope this helps.
Thanks for adding the monospace shortcut; this is going to be helpful for me.
Regarding the clear formatting shortcut, I find that it applies to the whole paragraph, even when I have a specific word(s) highlighted. By contrast, monospace only applies to the word that the current cursor is in (cool!) or the word(s) that I currently have highlighted.
Would you be able to limit the scope of the clear formatting shortcut to apply to only the current word(s), like the monospace behavior? Thanks!