tui.editor icon indicating copy to clipboard operation
tui.editor copied to clipboard

add Vim key binding option

Open 3265 opened this issue 4 years ago • 2 comments

  • 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

3265 avatar May 07 '20 05:05 3265

@mgoldchild Do you just need to get an instance of Code Mirror? getCodeMirror provides a method API like this.

getCodeMirror

Would you please confirm if you can use this?

seonim-ryu avatar May 15 '20 02:05 seonim-ryu

Any chance we can get this feature?

plmi avatar Aug 27 '23 11:08 plmi