Skip to content

Instantly share code, notes, and snippets.

// Code snippet CodeMirrorHelp.js for Google Chrome and Mozilla Firefox.
// Ctrl+F1 opens fixed textarea displaying CodeMirror keymappings and defaults.
// Close by pressing Esc or clicking anywhere in the textarea.
// Navigate it with PageDown, PageUp.
/*jslint browser: true*/
/*globals console: false */
(function() {
var reportCodeMirrorInfo = function() {
if (!window.CodeMirror) {