Now supports vim (by hacking into the codemirror src, ugly but works)