Skip to content

Cursor style does not change on normal/visual mode. #117

Description

@SantiagoBobrik

I'm using @monaco-editor/react and the cursor style does not change in any mode.

The following code is my monaco-vim implementation.

I installed monaco-vim from npm, and I'm using vite + react +typescript.

I may be doing something wrong, so any help is welcome.

  // On mount monaco editor
  const handleOnMount = (editor: monaco.editor.IStandaloneCodeEditor) => {
    initVimMode(editor, document.getElementById("vim-status"));
  };

Screenshots:

Normal Mode
image

Insert mode
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions