Code Monkey home page Code Monkey logo

Comments (3)

jpalardy avatar jpalardy commented on July 24, 2024

Hi @sourproton

slime_bracketed_paste was originally tmux-only (here, and that's where it's documented in the README). Recently, it's been added to the wezterm target (here)

Technically, there's no reason not to support it 😄

If you want to have a stab at it, let me know.

from vim-slime.

sourproton avatar sourproton commented on July 24, 2024

Thank you for your answer!

As I understand, vim-slime's implementation of bracketed paste in tmux is done with the -p flag in paste-buffer -d -p -t here, whilst wezterm's implementation is done with the absence of the --no-paste flag here.

So vim-slime doesn't actually parse and treat the string to be sent to the target (it does a bit with the trailing \r and \n with wezterm but it doesn't actually wrap the string with \e[200~ and \e[201~), it uses the built-in cli command to achieve it.

Given that zellij doesn't feature this yet, and that might change, I don't see how this could be implemented right now, and I don't know if it's worth the effort to do it via vim-slime. I might take a look at zellij's source and see if I can contribute to add a bracketed paste flag there and then use it here.

from vim-slime.

jpalardy avatar jpalardy commented on July 24, 2024

I think that makes sense 👍

I'll be here if the situation changes.

from vim-slime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.