jeffreytse / zsh-vi-mode

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

adding support for changing cursor in GNU screen #274

Open rdyro opened 8 months ago

rdyro commented 8 months ago

Hi,

The purpose of this pull request is to allow zsh-vi-mode to change the cursor in the GNU screen.

The only change is wrapping the cursor style command in '\eP' '\e\' as detailed here:

rdyro commented 8 months ago

After some more testing, highlighting (vim visual mode) does not appear to be working in GNU screen.

After some experimentation, I'm not sure how to fix this. The problem might be related to the zsh in-built region_highlight

I ended up switching from using GNU screen to tmux where everything works.

jeffreytse commented 5 months ago

everything

I think the tmux is a better alternative for your terminal experience. 👍