Rule of thumb: when in doubt, C-g it out.
You simply can't get by without having these at your fingertips.
- C-x C-c - quit
- C-x C-s - save buffer
- C-x C-f - open file
- C-x b buffer name - switch to open buffer
(defn code-mirror | |
"Create a code-mirror editor. The parameters: | |
value-atom (reagent atom) | |
when this changes, the editor will update to reflect it. | |
options | |
:style (reagent style map) | |
will be applied to the container element | |
:js-cm-opts | |
options passed into the CodeMirror constructor | |
:on-cm-init (fn [cm] -> nil) |