jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
3.13k stars 109 forks source link

Cursor does not change shape inside neovim terminal. #198

Open hadeedji opened 1 year ago

hadeedji commented 1 year ago

General information

Basic examination

Problem description

Inside the neovim terminal, cursor remains as a block in all modes.

Reproduction steps

  1. Have a minimal .zshrc, the only thing it does is source this plugin.
  2. Run neovim with nvim --clean, and open the terminal inside.

Expected behavior

Cursor should appear as a blinking beam in insert mode. That is the way it works in the terminal I use, kitty, even with the minimal .zshrc. This was working until recently, I can't figure out exactly what broke it.

$TERM

Both $TERM and $ZVM_TERM are set to xterm-256color inside neovim terminal. And in kitty, where everything works, both are set to xterm-kitty.

dk-salesforce commented 1 year ago

I have the same issue. Would really love to see a fix for this.

jeffreytse commented 1 year ago

Hi @hadeedji, @dk-salesforce

It looks like an issue in neovim, please refer to #22730.

Thanks & Regards