tui.editor
tui.editor copied to clipboard
add Vim key binding option
- I think tui.editor uses CodeMirror inside, so i would like to use Vim binding feature of CodeMirror in tui.editor.
- I guess the processing is just passing options to the CodeMirror and loading some scripts for it according to the stackoverflow?
- Or is there any easy way to use vim binding in tui.editor except chrome extension?
REFERENCES:
- https://stackoverflow.com/questions/15152675/using-codemirror-in-vim-mode
- https://github.com/nhn/tui.editor/blob/8208bfd43b3fddd1745e79a0411489b39c6ec19c/apps/editor/src/js/codeMirrorExt.js#L58
@mgoldchild Do you just need to get an instance of Code Mirror? getCodeMirror
provides a method API like this.
Would you please confirm if you can use this?
Any chance we can get this feature?