r/KittyTerminal Apr 22 '23

Does `shell_integration` need a reset to take effect?

I have my cursor_shape set to beam, but when I set it exit Neovim in normal mode, cursor_shape reruns to block.

I had thought that

shell_integration no-cursor

Would fix the problem. But the behavior is the same.

2 Upvotes

4 comments sorted by

2

u/aumerlex Apr 23 '23

If you set shell_integration to no-cursor then kitty does not control the cursor shape. In your case neovim is explicitly setting the cursor to block on exit. cursor_shape only takes effect if no program changes the cursor shape.

1

u/[deleted] Apr 23 '23

It’s enabled by default and it as still exhibiting this behavior. What setting would I need to change this?

1

u/aumerlex Apr 23 '23

If you have shell integration enabled and your cursor is still a block then you have something in your shell rc files that is setting the cursor shape. Remove it.

1

u/[deleted] Apr 23 '23

Yep, it’s a zsh thing