Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SantiagoBobrik opened this issue Nov 30, 2023 · 1 comment
Open

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

SantiagoBobrik opened this issue Nov 30, 2023 · 1 comment

Comments

@SantiagoBobrik
Copy link

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

@3rd
Copy link

3rd commented Dec 13, 2023

@SantiagoBobrik found a fix 3rd/tsdiagram@e7a1a4a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants