jpalardy / vim-slime

A vim plugin to give you some slime. (Emacs)
http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/
MIT License
1.89k stars 227 forks source link

kitty slime broken in kitty v0.32 #412

Closed xxyxxyxyx1 closed 10 months ago

xxyxxyxyx1 commented 10 months ago

I have used vim-slime with kitty successfully through kitty version 0.31. However, on current release kitty v0.32, I have problems.

After the first text is sent with vim-slime, most keyboard shortcuts break, along with most uses of the shift key. For example:

Functionality is restored only after restarting kitty. The vim-slime seems to work as intended, sending text over to the other kitty window as intended.

I am starting kitty with kitty --config test.conf and this minimal test.conf:

allow_remote_control yes
listen_on unix:/tmp/mykitty

I am starting neovim with neovim -u test.vimrc and this minimal test.vimrc:

call plug#begin()
Plug 'jpalardy/vim-slime'
call plug#end()

let g:slime_target = "kitty"
let g:slime_default_config = {"listen_on": $KITTY_LISTEN_ON}

I have tried some small manual tests with kitty, to see if I can break it without using vim-slime, but I have not been successful. I tried for example kitty @ --to unix:/tmp/mykitty-1975 send-text --match id:2 --stdin ls, and no keyboard problems occurred.

My environment includes:

I don't know if this should be an issue for vim-slime or kitty, and I am not too proficient at these things.

jpalardy commented 10 months ago

Hi @xxyxxyxyx1

It seems like 0.32 came out a few days ago. Everything worked fine before that? And, if I'm reading this correctly, using slime renders kitty … broken? (until it's restarted)

I don't have a kitty solution for this, but it seems like the problem is upstream. Especially if you haven't updated slime.

Let me know what you discover and we can decide how to fix this.

xxyxxyxyx1 commented 10 months ago

Thank you for answering. Yes, everything worked correctly until kitty v0.32. I also have the v0.31 binary on my computer, and everything still works correctly when I use this instead of v0.31.

Yes, using slime immediately renders kitty basically broken, until restart. vim-slime is up-to-date.

Do you have any suggestions for logs or debug output to look at? Or should I open an issue with kitty?

jpalardy commented 10 months ago

Let's see what kitty has to say ^

Please @ me in the comments, if necessary.

xxyxxyxyx1 commented 10 months ago

I did not get anywhere with my kitty issue: https://github.com/kovidgoyal/kitty/issues/7074

The developer kindly tested it (on linux) and could not reproduce it.

xxyxxyxyx1 commented 10 months ago

The problem appears to have been fixed in the master branch of kitty on github.