()
| 488 | } |
| 489 | |
| 490 | enableVim(): void { |
| 491 | const statusElem = this.domRoot.find('.v-status')[0]; |
| 492 | const vimMode = monacoVim.initVimMode(this.editor, statusElem); |
| 493 | this.vimMode = vimMode; |
| 494 | this.vimFlag.prop('class', 'btn btn-info'); |
| 495 | (this.editor as any).vimInUse = true; |
| 496 | } |
| 497 | |
| 498 | disableVim(): void { |
| 499 | this.vimMode.dispose(); |
no test coverage detected