Codemirror plugin for persisting buffers in a local storage