zellij
zellij copied to clipboard
Cannot paste into Helix or Neovim or Kakoune when using git version of Zellij
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:
- build zellij from git checkout -- cargo xtask dist is what I used.
- run this zellij
- start helix (you can run
brew install helixif you don't have it) - enter insert mode with 'i', just like vim.
- 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.
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
Hey so - I'm unfortunately not able to reproduce this. It's possible that this issue only occurs on a mac due to pasting being done with the cmd key. I do not have access to a mac, so going to ask for some help here. Does it work when pasting in a different method? (eg. with the mouse)
Let me look at the current state of the tree and see if I can see anything. I have been using the brew version.
Any updates?
@imsnif Hi, Can confirm this issue no longer exist in latest main commit fe30f08.
Tested in neovim and helix, can paste.
Thanks @towry ! Any chance you know which commit fixed it? I'll be more calm if I understand what caused this issue.
@imsnif 5aed8daa9fcd07aa25e048e60ed40672b57d57aa fixed in this commit.
Thanks!