Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaleh opened this issue Jun 13, 2024 · 8 comments
Open
Assignees

Comments

@shaleh
Copy link

shaleh commented Jun 13, 2024

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.

8838555 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
Copy link

Jimmyscene commented Jun 13, 2024

I had this issue and fixed it by setting
support_kitty_keyboard_protocol false in my config file, per #3383

@imsnif
Copy link
Member

imsnif commented Jul 8, 2024

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)

@shaleh
Copy link
Author

shaleh commented Jul 8, 2024

Let me look at the current state of the tree and see if I can see anything. I have been using the brew version.

@imsnif
Copy link
Member

imsnif commented Jul 17, 2024

Any updates?

@towry
Copy link

towry commented Jul 17, 2024

@imsnif Hi, Can confirm this issue no longer exist in latest main commit fe30f08.

Tested in neovim and helix, can paste.

@imsnif
Copy link
Member

imsnif commented Jul 17, 2024

Thanks @towry ! Any chance you know which commit fixed it? I'll be more calm if I understand what caused this issue.

@towry
Copy link

towry commented Jul 17, 2024

@imsnif 5aed8da fixed in this commit.

@imsnif
Copy link
Member

imsnif commented Jul 17, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants