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

Can't paste more than around 30-lines into tmux buffer #44

Open
gberenfield opened this issue Sep 25, 2012 · 0 comments
Open

Can't paste more than around 30-lines into tmux buffer #44

gberenfield opened this issue Sep 25, 2012 · 0 comments
Labels

Comments

@gberenfield
Copy link

I can't seem to paste in around 30-40 lines of code into my vimux repl. Anything less works fine.
It could easily be a tmux setting but I can't seem to find anything relevant.

I'm using vimux as a tslime replacement and followed the mappings in the docs.

tmux: 1.6 (via homebrew)
vim: 7.3.646 (sourcecode compiled)

Wishlist: If there was a command to pass the entire file/buffer to the vimux buffer

Brilliant plugin!
Thanks
Greg

@ghost ghost assigned benmills Sep 26, 2012
slowkow added a commit to slowkow/vimux that referenced this issue May 23, 2014
This patch addresses issue preservim#44, where @gberenfield says:

> I can't seem to paste in around 30-40 lines of code into my vimux repl.
> Anything less works fine.

I write the selected text to a temporary file, read the file with tmux,
and paste the contents into the appropriate window.

Caveats:

- When sending the text, vim prompts you with a `more` screen in which you
  must press Enter repeatedly to scroll to the end. The text is actually sent
  after you're done mashing the Enter button. I haven't found a way around
  this -- I'm new to Vimscript.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants