zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.38k stars 610 forks source link

Cannot paste into Helix or Neovim or Kakoune when using git version of Zellij #3421

Open shaleh opened 2 weeks ago

shaleh commented 2 weeks ago

This has happened to me on MacOS 14.4 running kitty, iterm2, and terminal.

I have tried this with homebrew installed helix and my own local compiled version. No difference.

883855587c4c963f3037f287e5239e8cd297ab69 is the top most commit in the log.

Steps to reproduce:

  1. build zellij from git checkout -- cargo xtask dist is what I used.
  2. run this zellij
  3. start helix (you can run brew install helix if you don't have it)
  4. enter insert mode with 'i', just like vim.
  5. Press the usual Cmd+v to paste as normal on a Mac. In iterm2 I can see the Edit menu flash so it recognized the keys...

If I exit helix I can paste into the shell inside of zellij. If I start neovim installed from Homebrew I also cannot paste. Same thing, enter insert mode and Cmd+v does nothing. I just installed Kakoune from homebrew and again, cannot paste. However, if I use /usr/bin/vi I can paste. No problems. /usr/bin/vi is the older vim shipped with MacOS.

This all works just fine with the homebrew installed version of Zellij.

Jimmyscene commented 2 weeks ago

I had this issue and fixed it by setting support_kitty_keyboard_protocol false in my config file, per https://github.com/zellij-org/zellij/pull/3383